Hand-supportable digital image capture and processing system supporting a multi-tier modular software architecture

ABSTRACT

A hand-supportable digital image capture and processing system supporting a multi-tier modular software, and plug-in extendable, architecture. The digital image capture and processing system can be realized as an image-capturing cell phone, a digital camera, a video camera, mobile computing terminal and portable data terminal (PDT), provided with suitable hardware platform, communication protocols and user interfaces. A third-party customer can write and install a software plug-in into the application layer so as to enhance or modify the behavior of the hand-supportable digital image capture and processing system without any required knowledge of the hardware platform, communication protocols and/or user interfaces.

RELATED CASES

This Application is a Continuation of U.S. application Ser. No.11/981,613 filed Oct. 31, 2007; which is a Continuation of U.S.application Ser. No. 11/640,814 filed Dec. 18, 2006, now U.S. Pat. No.7,708,205; which is a Continuation-in-Part of the following U.S.application Ser. No. 11/489,259 filed Jul. 19, 2006, now U.S. Pat. No.7,540,424; and Ser. No. 11/408,268 filed Apr. 20, 2006, now U.S. Pat.No. 7,464,877; Ser. No. 11/305,895 filed Dec. 16, 2005, now U.S. Pat.No. 7,607,581; Ser. No. 10/989,220 filed Nov. 15, 2004, now U.S. Pat.No. 7,490,774; Ser. No. 10/712,787 filed Nov. 11, 2003, now U.S. Pat.No. 7,128,266; Ser. No. 10/893,800 filed Jul. 16, 2004, now U.S. Pat.No. 7,273,180; Ser. No. 10/893,797 filed Jul. 16, 2004, now U.S. Pat.No. 7,188,770; Ser. No. 10/893,798 filed Jul. 16, 2004, now U.S. Pat.No. 7,185,817; Ser. No. 10/894,476 filed Jul. 16, 2004, now U.S. Pat.No. 7,178,733; Ser. No. 10/894,478 filed Jul. 19, 2004, now U.S. Pat.No. 7,357,325; Ser. No. 10/894,412 filed Jul. 19, 2004, now U.S. Pat.No. 7,213,762; Ser. No. 10/894,477 filed Jul. 19, 2004, now U.S. Pat.No. 7,360,706; Ser. No. 10/895,271 filed Jul. 20, 2004, now U.S. Pat.No. 7,216,810; Ser. No. 10/895,811 filed Jul. 20, 2004, now U.S. Pat.No. 7,225,988; Ser. No. 10/897,390 filed Jul. 22, 2004, now U.S. Pat.No. 7,237,722; Ser. No. 10/897,389 filed Jul. 22, 2004, now U.S. Pat.No. 7,225,989; Ser. No. 10/901,463 filed Jul. 27, 2004, now U.S. Pat.No. 7,086,595; Ser. No. 10/901,426 filed Jul. 27, 2004, now U.S. Pat.No. 7,278,575; Ser. No. 10/901,446 filed Jul. 27, 2004, now U.S. Pat.No. 7,428,998; Ser. No. 10/901,461 filed Jul. 28, 2004, now U.S. Pat.No. 7,320,431; Ser. No. 10/901,429 filed Jul. 28, 2004, now U.S. Pat.No. 7,243,847; Ser. No. 10/901,427 filed Jul. 28, 2004, now U.S. Pat.No. 7,267,282; Ser. No. 10/901,445 filed Jul. 28, 2004, now U.S. Pat.No. 7,240,844; Ser. No. 10/901,428 filed Jul. 28, 2004, now U.S. Pat.No. 7,293,714; Ser. No. 10/902,709 filed Jul. 29, 2004, now U.S. Pat.No. 7,270,272; Ser. No. 10/901,914 filed Jul. 29, 2004, now U.S. Pat.No. 7,325,738; Ser. No. 10/902,710 filed Jul. 29, 2004, now U.S. Pat.No. 7,281,661; Ser. No. 10/909,270 filed Jul. 30, 2004, now U.S. Pat.No. 7,284,705; Ser. No. 10/909,255 filed Jul. 30, 2004, now U.S. Pat.No. 7,299,986; Ser. No. 10/903,904 filed Jul. 30, 2004, now U.S. Pat.No. 7,255,279. Each said patent application is assigned to and commonlyowned by Metrologic Instruments, Inc. of Blackwood, N.J., and isincorporated herein by reference in its entirety.

BACKGROUND OF INVENTION

1. Field of Invention

The present invention relates to hand-supportable and portable area-typedigital bar code readers having diverse modes of digital imageprocessing for reading one-dimensional (1D) and two-dimensional (2D) barcode symbols, as well as other forms of graphically-encodedintelligence.

2. Brief Description of the State of the Art

The state of the automatic-identification industry can be understood interms of (i) the different classes of bar code symbologies that havebeen developed and adopted by the industry, and (ii) the kinds ofapparatus developed and used to read such bar code symbologies invarious user environments.

In general, there are currently three major classes of bar codesymbologies, namely: one dimensional (1D) bar code symbologies, such asUPC/EAN, Code 39, etc.; 1D stacked bar code symbologies, Code 49,PDF417, etc.; and two-dimensional (2D) data matrix symbologies.

One Dimensional optical bar code readers are well known in the art.Examples of such readers include readers of the Metrologic Voyager®Series Laser Scanner manufactured by Metrologic Instruments, Inc. Suchreaders include processing circuits that are able to read onedimensional (1D) linear bar code symbologies, such as the UPC/EAN code,Code 39, etc., that are widely used in supermarkets. Such 1D linearsymbologies are characterized by data that is encoded along a singleaxis, in the widths of bars and spaces, so that such symbols can be readfrom a single scan along that axis, provided that the symbol is imagedwith a sufficiently high resolution along that axis.

In order to allow the encoding of larger amounts of data in a single barcode symbol, a number of 1D stacked bar code symbologies have beendeveloped, including Code 49, as described in U.S. Pat. No. 4,794,239(Allais), and PDF417, as described in U.S. Pat. No. 5,340,786 (Pavlidis,et al.). Stacked symbols partition the encoded data into multiple rows,each including a respective 1D bar code pattern, all or most of all ofwhich must be scanned and decoded, then linked together to form acomplete message. Scanning still requires relatively high resolution inone dimension only, but multiple linear scans are needed to read thewhole symbol.

The third class of bar code symbologies, known as 2D matrix symbologiesoffer orientation-free scanning and greater data densities andcapacities than their 1D counterparts. In 2D matrix codes, data isencoded as dark or light data elements within a regular polygonalmatrix, accompanied by graphical finder, orientation and referencestructures. When scanning 2D matrix codes, the horizontal and verticalrelationships of the data elements are recorded with about equalresolution.

In order to avoid having to use different types of optical readers toread these different types of bar code symbols, it is desirable to havean optical reader that is able to read symbols of any of these types,including their various subtypes, interchangeably and automatically.More particularly, it is desirable to have an optical reader that isable to read all three of the above-mentioned types of bar code symbols,without human intervention, i.e., automatically. This is turn, requiresthat the reader have the ability to automatically discriminate betweenand decode bar code symbols, based only on information read from thesymbol itself. Readers that have this ability are referred to as“auto-discriminating” or having an “auto-discrimination” capability.

If an auto-discriminating reader is able to read only 1D bar codesymbols (including their various subtypes), it may be said to have a 1Dauto-discrimination capability. Similarly, if it is able to read only 2Dbar code symbols, it may be said to have a 2D auto-discriminationcapability. If it is able to read both 1D and 2D bar code symbolsinterchangeably, it may be said to have a 1D/2D auto-discriminationcapability. Often, however, a reader is said to have a 1D/2Dauto-discrimination capability even if it is unable to discriminatebetween and decode 1D stacked bar code symbols.

Optical readers that are capable of 1D auto-discrimination are wellknown in the art. An early example of such a reader is Metrologic'sVoyagerCG® Laser Scanner, manufactured by Metrologic Instruments, Inc.

Optical readers, particularly hand held optical readers, that arecapable of 1D/2D auto-discrimination and based on the use of anasynchronously moving 1D image sensor, are described in U.S. Pat. Nos.5,288,985 and 5,354,977, which applications are hereby expresslyincorporated herein by reference. Other examples of hand held readers ofthis type, based on the use of a stationary 2D image sensor, aredescribed in U.S. Pat. Nos. 6,250,551; 5,932,862; 5,932,741; 5,942,741;5,929,418; 5,914,476; 5,831,254; 5,825,006; 5,784,102, which are alsohereby expressly incorporated herein by reference.

Optical readers, whether of the stationary or movable type, usuallyoperate at a fixed scanning rate, which means that the readers aredesigned to complete some fixed number of scans during a given amount oftime. This scanning rate generally has a value that is between 30 and200 scans/sec for 1D readers. In such readers, the results thesuccessive scans are decoded in the order of their occurrence.

Imaging-based bar code symbol readers have a number advantages overlaser scanning based bar code symbol readers, namely: they are morecapable of reading stacked 2D symbologies, such as the PDF 417symbology; more capable of reading matrix 2D symbologies, such as theData Matrix symbology; more capable of reading bar codes regardless oftheir orientation; have lower manufacturing costs; and have thepotential for use in other applications, which may or may not be relatedto bar code scanning, such as OCR, security systems, etc

Prior art imaging-based bar code symbol readers suffer from a number ofadditional shortcomings and drawbacks.

Most prior art hand held optical reading devices can be reprogrammed byreading bar codes from a bar code programming menu or with use of alocal host processor as taught in U.S. Pat. No. 5,929,418. However,these devices are generally constrained to operate within the modes inwhich they have been programmed to operate, either in the field or onthe bench, before deployment to end-user application environments.Consequently, the statically-configured nature of such prior artimaging-based bar code reading systems has limited their performance aswell as capacity for easy integration into third-party products (i.e.systems and devices).

Prior art imaging-based bar code symbol readers with integratedillumination subsystems also support a relatively short range of theoptical depth of field. This limits the capabilities of such systemsfrom reading big or highly dense bar code labels.

Prior art imaging-based bar code symbol readers generally requireseparate apparatus for producing a visible aiming beam to help the userto aim the camera's field of view at the bar code label on a particulartarget object.

Prior art imaging-based bar code symbol readers generally requirecapturing multiple frames of image data of a bar code symbol, andspecial apparatus for synchronizing the decoding process with the imagecapture process within such readers, as required in U.S. Pat. Nos.5,932,862 and 5,942,741 assigned to Welch Allyn, Inc.

Prior art imaging-based bar code symbol readers generally require largearrays of LEDs in order to flood the field of view within which a barcode symbol might reside during image capture operations, oftentimeswasting larges amounts of electrical power which can be significant inportable or mobile imaging-based readers.

Prior art imaging-based bar code symbol readers generally requireprocessing the entire pixel data set of capture images to find anddecode bar code symbols represented therein. On the other hand, someprior art imaging systems use the inherent programmable (pixel)windowing feature within conventional CMOS image sensors to capture onlypartial image frames to reduce pixel data set processing and enjoyimprovements in image processing speed and thus imaging systemperformance.

Many prior art imaging-based bar code symbol readers also require theuse of decoding algorithms that seek to find the orientation of bar codeelements in a captured image by finding and analyzing the code words of2-D bar code symbologies represented therein.

Some prior art imaging-based bar code symbol readers generally requirethe use of a manually-actuated trigger to actuate the image capture andprocessing cycle thereof.

Prior art imaging-based bar code symbol readers generally requireseparate sources of illumination for producing visible aiming beams andfor producing visible illumination beams used to flood the field of viewof the bar code reader.

Prior art imaging-based bar code symbol readers generally utilize duringa single image capture and processing cycle, and a single decodingmethodology for decoding bar code symbols represented in capturedimages.

Some prior art imaging-based bar code symbol readers require exposurecontrol circuitry integrated with the image detection array formeasuring the light exposure levels on selected portions thereof.

Also, many imaging-based readers also require processing portions ofcaptured images to detect the image intensities thereof and determinethe reflected light levels at the image detection component of thesystem, and thereafter to control the LED-based illumination sources toachieve the desired image exposure levels at the image detector.

Prior art imaging-based bar code symbol readers employing integratedillumination mechanisms control image brightness and contrast bycontrolling the time the image sensing device is exposed to the lightreflected from the imaged objects. While this method has been proven forthe CCD-based bar code scanners, it is not suitable, however, for theCMOS-based image sensing devices, which require a more sophisticatedshuttering mechanism, leading to increased complexity, less reliabilityand, ultimately, more expensive bar code scanning systems.

Prior art imaging-based bar code symbol readers generally require theuse of tables and bar code menus to manage which decoding algorithms areto be used within any particular mode of system operation to beprogrammed by reading bar code symbols from a bar code menu.

Also, due to the complexity of the hardware platforms of such prior artimaging-based bar code symbol readers, end-users are not permitted tomodify the features and functionalities of such system to theircustomized application requirements, other than changing limitedfunctions within the system by reading system-programming type bar codesymbols, as disclosed in U.S. Pat. Nos. 6,321,989; 5,965,863; 5,929,418;5,932,862, each being incorporated herein by reference.

Also, dedicated image-processing based bar code symbol reading devicesusually have very limited resources, such as the amount of volatile andnon-volatile memories. Therefore, they usually do not have a rich set oftools normally available to universal computer systems. Further, if acustomer or a third-party needs to enhance or alter the behavior of aconventional image-processing based bar code symbol reading system ordevice, they need to contact the device manufacturer and negotiate thenecessary changes in the “standard” software or the ways to integratetheir own software into the device, which usually involves the re-designor re-compilation of the software by the original equipment manufacturer(OEM). This software modification process is both costly and timeconsuming.

Also, as a result of limitations in the mechanical, electrical, optical,and software design of prior art imaging-based bar code symbol readers,such prior art readers generally: (i) fail to enable users to readhigh-density 1D bar codes with the ease and simplicity of laser scanningbased bar code symbol readers and also 2D symbologies, such as PDF 417and Data Matrix, and (iii) have not enabled end-users to modify thefeatures and functionalities of such prior art systems without detailedknowledge about the hard-ware platform, communication interfaces and theuser interfaces of such systems.

Also, control operations in prior art image-processing bar code symbolreading systems have not been sufficiently flexible or agile to adapt tothe demanding lighting conditions presented in challenging retail andindustrial work environments where 1D and 2D bar code symbols need to bereliably read.

Thus, there is a great need in the art for an improved method of andapparatus for reading bar code symbols using image capture andprocessing techniques which avoid the shortcomings and drawbacks ofprior art methods and apparatus.

OBJECTS AND SUMMARY OF THE PRESENT INVENTION

Accordingly, a primary object of the present invention is to provide anovel method of and apparatus for enabling the recognition ofgraphically-encoded information, including 1D and 2D bar codesymbologies and alphanumerical character strings, using novel imagecapture and processing based systems and devices, which avoid theshortcomings and drawbacks of prior art methods and apparatus.

Another object of the present invention is to provide a digital imagecapture and processing system employing multi-layer software-basedsystem architecture permitting modification of system features andfunctionalities by way of third party code plug-ins.

Another object of the present invention is to provide such an imagecapture and processing system that allows customers, VARs and thirdparties to modify and/or extend a set of standard features and functionsof the system without needing to contact the system's OEM and negotiateways of integrating their desired enhancements to the system.

Another object of the present invention is to provide such an imagecapture and processing system that allows customers, VARs and thirdparties to independently design their own software according to the OEMspecifications, and plug this software into the system, therebyeffectively changing the device's behavior, without detailed knowledgeabout the hard-ware platform of the system, its communications withoutside environment, and user-related interfaces

Another object of the present invention is to provide a customer of thesuch an image capture and processing system, or any third-party thereof,with a way of and means for enhancing or altering the behavior of thesystem without interfering with underlying hardware, communications anduser-related interfaces.

Another object of the present invention is to provide end-users of suchan image capture and processing system, as well as third-parties, with away of and means for designing, developing, and installing in thedevice, their own plug-in modules without a need for knowledge ofdetails of the device's hardware.

Another object of the present invention is to provide original equipmentmanufacturers (OEM) with a way of and means for installing the OEM'splug-in modules into an image capture and processing system, withoutknowledge of the third-party's plug-in (software) modules that have beeninstalled therein, provided established specifications for systemfeatures and functionalities for the third-party plug-ins are met.

Another object of the present invention is to provide customers of animage capture and processing system, and third-parties thereof, with away of and means for installing their own modules to enhance or alterthe “standard” behavior of the device according to their own needs andindependently from each other.

Another object of the present invention is to provide an image captureand processing system that supports designer/manufacturer-constrainedsystem behavior modification, without requiring detailed knowledge aboutthe hard-ware platform of the system, its communications with outsideenvironment, and user-related interfaces.

Another object of the present invention is to provide a novelhand-supportable digital imaging-based bar code symbol reader capable ofautomatically reading 1D and 2D bar code symbologies using thestate-of-the art imaging technology, and at the speed and with thereliability achieved by conventional laser scanning bar code symbolreaders.

Another object of the present invention is to provide a novelhand-supportable digital imaging-based bar code symbol reader that iscapable of reading stacked 2D symbologies such as PDF417, as well asData Matrix.

Another object of the present invention is to provide a novelhand-supportable digital imaging-based bar code symbol reader that iscapable of reading bar codes independent of their orientation withrespect to the reader.

Another object of the present invention is to provide a novelhand-supportable digital imaging-based bar code symbol reader thatutilizes an architecture that can be used in other applications, whichmay or may not be related to bar code scanning, such as OCR, OCV,security systems, etc.

Another object of the present invention is to provide a novelhand-supportable digital imaging-based bar code symbol reader that iscapable of reading high-density bar codes, as simply and effectively as“flying-spot” type laser scanners do.

Another object of the present invention is to provide a hand-supportableimaging-based bar code symbol reader capable of reading 1D and 2D barcode symbologies in a manner as convenient to the end users as whenusing a conventional laser scanning bar code symbol reader.

BRIEF DESCRIPTION OF THE DRAWINGS OF PRESENT INVENTION

For a more complete understanding of how to practice the Objects of thePresent Invention, the following Detailed Description of theIllustrative Embodiments can be read in conjunction with theaccompanying Drawings, briefly described below:

FIG. 1A is a schematic representation of a digital image capture andprocessing system of the present invention, employing a multi-tiersoftware system architecture capable of supporting various subsystemsproviding numerous standard system features and functions that can bemodified and/or extended using the innovative plug-in programmingmethods of the present invention;

FIG. 1B is a schematic representation of the system architecture of thea digital image capture and processing system of the present invention,represented in FIG. 1A;

FIGS. 1C1-1C3, taken together, sets forth a table indicating thefeatures and functions supported by each of the subsystems provided inthe system architecture of the a digital image capture and processingsystem of the present invention, represented in FIGS. 1A and 1B;

FIG. 1D is a schematic representation indicating that the digital imagecapture and processing system of the present invention, shown in FIGS.1A through 1C3, can be implemented using a digital camera board and aprinted circuit (PC) board that are interfaced together;

FIG. 1E is a schematic representation indicating that the digital imagecapture and processing system of the present invention, shown in FIGS.1A through 1C3, can be implemented using a single hybrid digitalcamera/PC board;

FIG. 1F is a schematic representation illustrating that the digitalimage capture and processing system of the present invention, shown inFIGS. 1A through 1E, can be integrated or embodied within third-partyproducts, such as, for example, but not limited to digitalimage-processing based bar code symbol reading systems, OCR systems,object recognition systems, portable data terminals (PDTs), mobilephones, computer mice-type devices, personal computers, keyboards,consumer appliances, automobiles, ATMs, vending machines,reverse-vending machines, retail POS-based transaction systems, 2D or 2Ddigitizers, and CAT scanning systems, automobile identification systems,package inspection systems, personal identification systems and thelike;

FIG. 2A is a rear perspective view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention;

FIG. 2B is a front perspective view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention;

FIG. 2C is an elevated left side view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention;

FIG. 2D is an elevated right side view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention;

FIG. 2E is an elevated rear view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention;

FIG. 2F is an elevated front view of the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention, showing components associated withits illumination subsystem and its image capturing subsystem;

FIG. 2G is a bottom view of the hand-supportable digital imaging-basedbar code symbol reading device of the first illustrative embodiment ofthe present invention;

FIG. 2H is a top rear view of the hand-supportable digital imaging-basedbar code symbol reading device of the first illustrative embodiment ofthe present invention;

FIG. 2I is a first perspective exploded view of the hand-supportabledigital imaging-based bar code symbol reading device of the firstillustrative embodiment of the present invention;

FIG. 2J is a second perspective exploded view of the hand-supportabledigital imaging-based bar code symbol reading device of the firstillustrative embodiment of the present invention;

FIG. 2K is a third perspective exploded view of the hand-supportabledigital imaging-based bar code symbol reading device of the firstillustrative embodiment of the present invention;

FIG. 2L1 is a schematic block diagram representative of a system designfor the hand-supportable digital imaging-based bar code symbol readingdevice illustrated in FIGS. 2A through 2K, wherein the system design isshown comprising (1) a Multi-Mode Area-Type Image Formation andDetection (i.e. Camera) Subsystem having image formation (camera) opticsfor producing a field of view (FOV) upon an object to be imaged and aCMOS or like area-type image sensing array for detecting imaged lightreflected off the object during illumination operations in either (i) anarrow-area image capture mode in which a few central rows of pixels onthe image sensing array are enabled, or (ii) a wide-area image capturemode in which all rows of the image sensing array are enabled, (2) aMulti-Mode LED-Based Illumination Subsystem for producing narrow andwide area fields of narrow-band illumination within the FOV of the ImageFormation And Detection Subsystem during narrow and wide area modes ofimage capture, respectively, so that only light transmitted from theMulti-Mode Illumination Subsystem and reflected from the illuminatedobject and transmitted through a narrow-band transmission-type opticalfilter realized within the hand-supportable housing (i.e. using ared-wavelength high-pass reflecting window filter element disposed atthe light transmission aperture thereof and a low-pass filter before theimage sensor) is detected by the image sensor and all other componentsof ambient light are substantially rejected, (3) an IR-based objectpresence and range detection subsystem for producing an IR-based objectdetection field within the FOV of the Image Formation and DetectionSubsystem, (4) an Automatic Light Exposure Measurement and IlluminationControl Subsystem for controlling the operation of the LED-BasedMulti-Mode Illumination Subsystem, (5) an Image Capturing and BufferingSubsystem for capturing and buffering 2-D images detected by the ImageFormation and Detection Subsystem, (6) a Multimode Image-ProcessingBased Bar Code Symbol Reading Subsystem for processing images capturedand buffered by the Image Capturing and Buffering Subsystem and reading1D and 2D bar code symbols represented, and (7) an Input/OutputSubsystem for outputting processed image data and the like to anexternal host system or other information receiving or respondingdevice, in which each said subsystem component is integrated about (7) aSystem Control Subsystem, as shown;

FIG. 2L2 is a schematic block representation of the Multi-ModeImage-Processing Based Bar Code Symbol Reading Subsystem, realized usingthe three-tier computing platform illustrated in FIG. 2M;

FIG. 2M is a schematic diagram representative of a system implementationfor the hand-supportable digital imaging-based bar code symbol readingdevice illustrated in FIGS. 2A through 2L2, wherein the systemimplementation is shown comprising (1) an illumination board 33 carryingcomponents realizing electronic functions performed by the Multi-ModeLED-Based Illumination Subsystem and the Automatic Light ExposureMeasurement And Illumination Control Subsystem, (2) a CMOS camera boardcarrying a high resolution (1280×1024 7-bit 6 micron pixel size) CMOSimage sensor array running at 25 Mhz master clock, at 7 frames/second at1280*1024 resolution with randomly accessible region of interest (ROI)window capabilities, realizing electronic functions performed by themulti-mode area-type Image Formation and Detection Subsystem, (3) a CPUboard (i.e. computing platform) including (i) an Intel Sabinal 32-BitMicroprocessor PXA210 running at 200 Mhz 1.0 core voltage with a 16 bit100 Mhz external bus speed, (ii) an expandable (e.g. 7+ megabyte) IntelJ3 Asynchronous 16-bit Flash memory, (iii) an 16 Megabytes of 100 MHzSDRAM, (iv) an Xilinx Spartan II FPGA FIFO 39 running at 50 Mhz clockfrequency and 60 MB/Sec data rate, configured to control the cameratimings and drive an image acquisition process, (v) a multimedia cardsocket, for realizing the other subsystems of the system, (vi) a powermanagement module for the MCU adjustable by the system bus, and (vii) apair of UARTs (one for an IRDA port and one for a JTAG port), (4) aninterface board for realizing the functions performed by the I/Osubsystem, and (5) an IR-based object presence and range detectioncircuit for realizing the IR-based Object Presence And Range DetectionSubsystem;

FIG. 3A is a schematic representation showing the spatial relationshipsbetween the near and far and narrow and wide area fields of narrow-bandillumination within the FOV of the Multi-Mode Image Formation andDetection Subsystem during narrow and wide area image capture modes ofoperation;

FIG. 3B is a perspective partially cut-away view of the hand-supportabledigital imaging-based bar code symbol reading device of the firstillustrative embodiment, showing the LED-Based Multi-Mode IlluminationSubsystem transmitting visible narrow-band illumination through itsnarrow-band transmission-type optical filter system and illuminating anobject with such narrow-band illumination, and also showing the imageformation optics, including the low pass filter before the image sensingarray, for collecting and focusing light rays reflected from theilluminated object, so that an image of the object is formed anddetected using only the optical components of light contained within thenarrow-band of illumination, while all other components of ambient lightare substantially rejected before image detection at the image sensingarray;

FIG. 3C is a schematic representation showing the geometrical layout ofthe optical components used within the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment, wherein the red-wavelength reflecting high-pass lens elementis positioned at the imaging window of the device before the imageformation lens elements, while the low-pass filter is disposed beforethe image sensor of between the image formation elements, so as to imagethe object at the image sensing array using only optical componentswithin the narrow-band of illumination, while rejecting all othercomponents of ambient light;

FIG. 3D is a schematic representation of the image formation opticalsubsystem employed within the hand-supportable digital imaging-based barcode symbol reading device of the first illustrative embodiment, whereinall three lenses are made as small as possible (with a maximum diameterof 12 mm), all have spherical surfaces, all are made from common glass,e.g. LAK2 (˜LaK9), ZF10 (=SF8), LAF2 (˜LaF3);

FIG. 3E is a schematic representation of the lens holding assemblyemployed in the image formation optical subsystem of thehand-supportable digital imaging-based bar code symbol reading device ofthe first illustrative embodiment, showing a two-piece barrel structurewhich holds the lens elements, and a base structure which holds theimage sensing array, wherein the assembly is configured so that thebarrel structure slides within the base structure so as to focus theassembly;

FIG. 3F1 is a first schematic representation showing, from a side view,the physical position of the LEDs used in the Multi-Mode IlluminationSubsystem, in relation to the image formation lens assembly, the imagesensing array employed therein (e.g. a Motorola MCM20027 or NationalSemiconductor LM9638 CMOS 2-D image sensing array having a 1280×1024pixel resolution (½″ format), 6 micron pixel size, 13.5 Mhz clock rate,with randomly accessible region of interest (ROI) window capabilities);

FIG. 3F2 is a second schematic representation showing, from an axialview, the physical layout of the LEDs used in the Multi-ModeIllumination Subsystem of the digital imaging-based bar code symbolreading device, shown in relation to the image formation lens assembly,and the image sensing array employed therein;

FIG. 4A1 is a schematic representation specifying the range ofnarrow-area illumination, near-field wide-area illumination, andfar-field wide-area illumination produced from the LED-Based Multi-ModeIllumination Subsystem employed in the hand-supportable digitalimaging-based bar code symbol reading device of the present invention;

FIG. 4A2 is a table specifying the geometrical properties andcharacteristics of each illumination mode supported by the LED-BasedMulti-Mode Illumination Subsystem employed in the hand-supportabledigital imaging-based bar code symbol reading device of the presentinvention;

FIG. 4B is a schematic representation illustrating the physicalarrangement of LED light sources associated with the narrow-areaillumination array and the near-field and far-field wide-areaillumination arrays employed in the digital imaging-based bar codesymbol reading device of the present invention, wherein the LEDs in thefar-field wide-area illuminating arrays are located behind sphericallenses, the LEDs in the narrow-area illuminating array are disposedbehind cylindrical lenses, and the LEDs in the near-field wide-areailluminating array are unlensed in the first illustrative embodiment ofthe Digital Imaging-Based Bar Code Reading Device;

FIG. 4C1 is a graphical representation showing the Lambertian emittanceversus wavelength characteristics of the LEDs used to implement thenarrow-area illumination array in the Multi-Mode Illumination Subsystemof the present invention;

FIG. 4C2 is a graphical representation showing the Lambertian emittanceversus polar angle characteristics of the LEDs used to implement thenarrow-area illumination array in the Multi-Mode Illumination Subsystemof the present invention;

FIG. 4C3 is a schematic representation of the cylindrical lenses usedbefore the LEDs in the narrow-area (linear) illumination arrays in thedigital imaging-based bar code symbol reading device of the presentinvention, wherein the first surface of the cylindrical lens is curvedvertically to create a narrow-area (i.e. linear) illumination pattern,and the second surface of the cylindrical lens is curved horizontally tocontrol the height of the of the narrow-area illumination pattern toproduce a narrow-area (i.e. linear) illumination field;

FIG. 4C4 is a schematic representation of the layout of the pairs ofLEDs and two cylindrical lenses used to implement the narrow-area(linear) illumination array employed in the digital imaging-based barcode symbol reading device of the present invention;

FIG. 4C5 is a set of six illumination profiles for the narrow-area(linear) illumination fields produced by the narrow-area (linear)illumination array employed in the digital imaging-based bar code symbolreading device of the illustrative embodiment, taken at 30, 40, 50, 80,120, and 220 millimeters along the field away from the imaging window(i.e. working distance) of the digital imaging-based bar code symbolreading device, illustrating that the spatial intensity of thenarrow-area illumination field begins to become substantially uniform atabout 80 millimeters;

FIG. 4D1 is a graphical representation showing the Lambertian emittanceversus wavelength characteristics of the LEDs used to implement the widearea illumination arrays employed in the digital imaging-based bar codesymbol reading device of the present invention;

FIG. 4D2 is a graphical representation showing the Lambertian emittanceversus polar angle characteristics of the LEDs used to implement thefar-field and near-field wide-area illumination arrays employed in thedigital imaging-based bar code symbol reading device of the presentinvention;

FIG. 4D3 is a schematic representation of the plano-convex lenses usedbefore the LEDs in the far-field wide-area illumination arrays in theillumination subsystem of the present invention,

FIG. 4D4 is a schematic representation of the layout of LEDs andplano-convex lenses used to implement the far and narrow wide-areaillumination array employed in the digital imaging-based bar code symbolreading device of the present invention, wherein the illumination beamproduced therefrom is aimed by positioning the lenses at angles beforethe LEDs in the near-field (and far-field) wide-area illumination arraysemployed therein;

FIG. 4D5 is a set of six illumination profiles for the near-fieldwide-area illumination fields produced by the near-field wide-areaillumination arrays employed in the digital imaging-based bar codesymbol reading device of the illustrative embodiment, taken at 10, 20,30, 40, 60, and 100 millimeters along the field away from the imagingwindow (i.e. working distance) of the digital imaging-based bar codesymbol reading device, illustrating that the spatial intensity of thenear-field wide-area illumination field begins to become substantiallyuniform at about 40 millimeters;

FIG. 4D6 is a set of three illumination profiles for the far-fieldwide-area illumination fields produced by the far-field wide-areaillumination arrays employed in the digital imaging-based bar codesymbol reading device of the illustrative embodiment, taken at 100, 150and 220 millimeters along the field away from the imaging window (i.e.working distance) of the digital imaging-based bar code symbol readingdevice, illustrating that the spatial intensity of the far-fieldwide-area illumination field begins to become substantially uniform atabout 100 millimeters;

FIG. 4D7 is a table illustrating a preferred method of calculating thepixel intensity value for the center of the far-field wide-areaillumination field produced from the Multi-Mode Illumination Subsystememployed in the digital imaging-based bar code symbol reading device ofthe present invention, showing a significant signal strength (greaterthan 80 DN);

FIG. 5A1 is a schematic representation showing the red-wavelengthreflecting (high-pass) imaging window integrated within thehand-supportable housing of the digital imaging-based bar code symbolreading device, and the low-pass optical filter disposed before its CMOSimage sensing array therewithin, cooperate to form a narrow-band opticalfilter subsystem for transmitting substantially only the very narrowband of wavelengths (e.g. 620-700 nanometers) of visible illuminationproduced from the Multi-Mode Illumination Subsystem employed in thedigital imaging-based bar code symbol reading device, and rejecting allother optical wavelengths outside this narrow optical band howevergenerated (i.e. ambient light sources);

FIG. 5A2 is a schematic representation of transmission characteristics(energy versus wavelength) associated with the low-pass optical filterelement disposed after the red-wavelength reflecting high-pass imagingwindow within the hand-supportable housing of the digital imaging-basedbar code symbol reading device, but before its CMOS image sensing array,showing that optical wavelengths below 620 nanometers are transmittedand wavelengths above 620 nm are substantially blocked (e.g. absorbed orreflected);

FIG. 5A3 is a schematic representation of transmission characteristics(energy versus wavelength) associated with the red-wavelength reflectinghigh-pass imaging window integrated within the hand-supportable housingof the digital imaging-based bar code symbol reading device of thepresent invention, showing that optical wavelengths above 700 nanometersare transmitted and wavelengths below 700 nm are substantially blocked(e.g. absorbed or reflected);

FIG. 5A4 is a schematic representation of the transmissioncharacteristics of the narrow-based spectral filter subsystem integratedwithin the hand-supportable imaging-based bar code symbol reading deviceof the present invention, plotted against the spectral characteristicsof the LED-emissions produced from the Multi-Mode Illumination Subsystemof the illustrative embodiment of the present invention;

FIG. 6A is a schematic representation showing the geometrical layout ofthe spherical/parabolic light reflecting/collecting mirror andphotodiode associated with the Automatic Light Exposure Measurement andIllumination Control Subsystem, and arranged within the hand-supportabledigital imaging-based bar code symbol reading device of the illustrativeembodiment, wherein incident illumination is collected from a selectedportion of the center of the FOV of the system using a spherical lightcollecting mirror, and then focused upon a photodiode for detection ofthe intensity of reflected illumination and subsequent processing by theAutomatic Light Exposure Measurement and Illumination Control Subsystem,so as to then control the illumination produced by the LED-basedMulti-Mode Illumination Subsystem employed in the digital imaging-basedbar code symbol reading device of the present invention;

FIG. 6B is a schematic diagram of the Automatic Light ExposureMeasurement and Illumination Control Subsystem employed in thehand-supportable digital imaging-based bar code symbol reading device ofthe present invention, wherein illumination is collected from the centerof the FOV of the system and automatically detected so as to generate acontrol signal for driving, at the proper intensity, the narrow-areaillumination array as well as the far-field and narrow-field wide-areaillumination arrays of the Multi-Mode Illumination Subsystem, so thatthe CMOS image sensing array produces digital images of illuminatedobjects of sufficient brightness;

FIGS. 6C1 and 6C2, taken together, set forth a schematic diagram of ahybrid analog/digital circuit designed to implement the Automatic LightExposure Measurement and Illumination Control Subsystem of FIG. 6Bemployed in the hand-supportable digital imaging-based bar code symbolreading device of the present invention;

FIG. 6D is a schematic diagram showing that, in accordance with theprinciples of the present invention, the CMOS image sensing arrayemployed in the digital imaging-based bar code symbol reading device ofthe illustrative embodiment, once activated by the System ControlSubsystem (or directly by the trigger switch), and when all rows in theimage sensing array are in a state of integration operation,automatically activates the Automatic Light Exposure Measurement andIllumination Control Subsystem which, in response thereto, automaticallyactivates the LED illumination driver circuitry to automatically drivethe appropriate LED illumination arrays associated with the Multi-ModeIllumination Subsystem in a precise manner and globally expose theentire CMOS image detection array with narrowly tuned LED-basedillumination when all of its rows of pixels are in a state ofintegration, and thus have a common integration time, thereby capturinghigh quality images independent of the relative motion between the barcode reader and the object;

FIGS. 6E1 and 6E2, taken together, set forth a flow chart describing thesteps involved in carrying out the global exposure control method of thepresent invention, within the digital imaging-based bar code symbolreading device of the illustrative embodiments;

FIG. 7 is a schematic block diagram of the IR-based automatic ObjectPresence and Range Detection Subsystem employed in the hand-supportabledigital imaging-based bar code symbol reading device of the presentinvention, wherein a first range indication control signal is generatedupon detection of an object within the near-field region of theMulti-Mode Illumination Subsystem, and wherein a second range indicationcontrol signal is generated upon detection of an object within thefar-field region of the Multi-Mode Illumination Subsystem;

FIG. 8 is a schematic representation of the hand-supportable digitalimaging-based bar code symbol reading device of the present invention,showing that its CMOS image sensing array is operably connected to itsmicroprocessor through a FIFO (realized by way of a FPGA) and a systembus, and that its SDRAM is also operably connected to the microprocessorby way of the system bus, enabling the mapping of pixel data captured bythe imaging array into the SDRAM under the control of the direct memoryaccess (DMA) module within the microprocessor;

FIG. 9 is a schematic representation showing how the bytes of pixel datacaptured by the CMOS imaging array within the hand-supportable digitalimaging-based bar code symbol reading device of the present invention,are mapped into the addressable memory storage locations of its SDRAMduring each image capture cycle carried out within the device;

FIG. 10 is a schematic representation showing the software modulesassociated with the three-tier software architecture of thehand-supportable digital imaging-based bar code symbol reading device ofthe present invention, namely: the Main Task module, the CodeGate Taskmodule, the Narrow-Area Illumination Task module, the Metroset Taskmodule, the Application Events Manager module, the User Commands Tablemodule, the Command Handler module, Plug-In Controller, and Plug-InLibraries and Configuration Files, all residing within the Applicationlayer of the software architecture; the Tasks Manager module, the EventsDispatcher module, the Input/Output Manager module, the User CommandsManager module, the Timer Subsystem module, the Input/Output Subsystemmodule and the Memory Control Subsystem module residing with the SystemCore (SCORE) layer of the software architecture; and the Linux Kemalmodule in operable communication with the Plug-In Controller, the LinuxFile System module, and Device Drivers modules residing within the LinuxOperating System (OS) layer of the software architecture, and inoperable communication with an external (hostO Plug-In DevelopmentPlatform via standard or proprietary communication interfaces;

FIG. 11 is a perspective view of an illustrative embodiment of acomputer software development platform for developing plug-ins for taskswithin the application layer of the imaging-based bar code readingsystem of the present invention;

FIG. 12A is a schematic representation of the Events Dispatcher softwaremodule which provides a means of signaling and delivering events to theApplication Events Manager, including the starting of a new task,stopping a currently running task, doing something, or doing nothing andignoring the event;

FIG. 12B is a table listing examples of system-defined events which canoccur and be dispatched within the hand-supportable digitalimaging-based bar code symbol reading device of the present invention,namely: SCORE_EVENT_POWER_UP which signals the completion of systemstart-up and involves no parameters;_SCORE_EVENT_TIMEOUT which signalsthe timeout of the logical timer, and involves the parameter “pointer totimer id”; SCORE_EVENT_UNEXPECTED_INPUT which signals that theunexpected input data is available and involves the parameter “pointerto connection id”; SCORE_EVENT_TRIG_ON which signals that the userpulled the trigger switch and involves no parameters;SCORE_EVENT_TRIG_OFF which signals that the user released the triggerswitch and involves no parameters; SCORE_EVENT_OBJECT_DETECT_ON whichsignals that the object is positioned under the bar code reader andinvolves no parameters; SCORE_EVENT_OBJECT_DETECT_OFF which signals thatthe object is removed from the field of view of the bar code reader andinvolves no parameters; SCORE_EVENT_EXIT_TASK which signals the end ofthe task execution and involves the pointer UTID; andSCORE_EVENT_ABORT_TASK which signals the aborting of a task duringexecution;

FIG. 12C is a schematic representation of the Tasks Manager softwaremodule which provides a means for executing and stopping applicationspecific tasks (i.e. threads);

FIG. 12D is a schematic representation of the Input/Output Managersoftware module (i.e Input/Output Subsystem), which runs in thebackground and monitors activities of external devices and userconnections, and signals appropriate events to the Application Layer,which such activities are detected;

FIGS. 12E1 and 12E2 set forth a schematic representation of theInput/Output Subsystem software module which provides a means forcreating and deleting input/output connections, and communicating withexternal systems and devices;

FIGS. 12F1 and 12F2 set forth a schematic representation of the TimerSubsystem which provides a means for creating, deleting, and utilizinglogical timers;

FIGS. 12G1 and 12G2 set forth a schematic representation of the MemoryControl Subsystem which provides an interface for managing thethread-level dynamic memory with the device, fully compatible withstandard dynamic memory management functions, as well as a means forbuffering collected data;

FIG. 12H is a schematic representation of the user commands managerwhich provides a standard way of entering user commands, and executingapplication modules responsible for handling the same;

FIG. 12I is a schematic representation of the device driver softwaremodules, which includes trigger switch drivers for establishing asoftware connection with the hardware-based manually-actuated triggerswitch employed on the digital imaging-based bar code symbol readingdevice, an image acquisition driver for implementing image acquisitionfunctionality aboard the digital imaging-based bar code symbol readingdevice, and an IR driver for implementing object detection functionalityaboard the imaging-based bar code symbol reading device;

FIG. 13A is an exemplary flow chart representation showing how when theuser points the bar code reader towards a bar code symbol, the IR devicedrivers detect that object within the field, and then wakes up theInput/Output Manager software module at the System Core Layer;

FIG. 13B is an exemplary flow chart representation showing how upondetecting an object, the Input/Output Manager posts theSCORE_OBJECT_DETECT_ON event to the Events Dispatcher software module;

FIG. 13C is an exemplary flow chart representation showing how, inresponse to detecting an object, the Events Dispatcher software modulepasses the SCORE_OBJECT_DETECT_ON event to the Application Layer;

FIG. 13D is an exemplary flow chart representation showing how uponreceiving the SCORE_OBJECT_DETECT_ON event at the Application Layer, theApplication Events Manager executes an event handling routine whichactivates the narrow-area illumination array associated with theMulti-Mode Illumination Subsystem, and executes either the CodeGate Taskdescribed in FIG. 13E (when required by System Mode in which the Deviceis programmed) or the Narrow-Area Illumination Task described in FIG.13M (when required by System Mode in which the Device is programmed);

FIG. 13E is an exemplary flow chart representation showing how whatoperations are carried out when the CodeGate Task is (enabled and)executed within the Application Layer;

FIG. 13F is an exemplary flow chart representation showing how, when theuser pulls the trigger switch on the bar code reader while the Code Taskis executing, the trigger device driver wakes up the Input/OutputManager at the System Core Layer;

FIG. 14A is a perspective view of the digital image capture andprocessing engine of the present invention, showing the projection of avisible illumination-based Image Cropping Pattern (ICP) within the fieldof view (FOV) of the engine, during object illumination and imagecapture operations;

FIG. 14B is a close-up, perspective view of the digital image captureand processing engine of the present invention depicted in FIG. 14A,showing the assembly of an illumination/targeting optics panel, anillumination board, a lens barrel assembly, a camera housing, and acamera board, into a an ultra-compact form factor offering advantages oflight-weight construction, excellent thermal management, and exceptionalimage capture performance;

FIG. 14C is a perspective view of the digital image capture andprocessing engine of FIG. 14A, showing a cross-section of the field ofview (FOV) of its FOV forming (i.e. light collection) optics;

FIG. 14D is a side perspective view of the digital image capture andprocessing engine of FIG. 14A, showing how the various components arearranged with respect to each other;

FIG. 14E is an elevated front view of the digital image capture andprocessing engine of FIG. 14A, taken along the optical axis of its imageformation optics;

FIG. 14F is a bottom view of the digital image capture and processingengine of FIG. 14A, showing the bottom of its mounting base for use inmounting the engine within diverse host systems;

FIG. 14G is a top view of the digital image capture and processingengine of FIG. 14A;

FIG. 14H is a first side view of the digital image capture andprocessing engine of FIG. 14A;

FIG. 14I is a second partially cut-away side view of the digital imagecapture and processing engine taken in FIG. 14H, revealing the lightconductive pipe used to collect and conduct light energy from the FOV ofthe Multi-Mode Area-Type Image Formation and Detection Subsystem, anddirect it to the photo-detector associated with the Automatic LightExposure Measurement and Illumination Control Subsystem;

FIG. 14J is a first cross-sectional view of the digital image captureand processing engine taken in FIG. 46, revealing the light conductivepipe used to collect and conduct light energy from the FOV of theMulti-Mode Area-Type Image Formation and Detection Subsystem;

FIG. 14K is a perspective view of the light conductive pipe used in thedigital image capture and processing engine shown in FIG. 14J;

FIGS. 14L and 14M are perspective views of the lens barrel assemblyemployed in the digital image capture and processing engine shown inFIGS. 14A through 14J;

FIG. 14N is a cross-sectional view of the FOV forming optics shown inFIGS. 14L and 14M;

FIG. 14O is a perspective view of the FOV forming optics supported inone half of the lens barrel assembly shown in FIGS. 14L and 14M;

FIG. 14P is a perspective view of the lens assembly optics;

FIG. 14Q is an exploded, perspective view of the digital image captureand processing engine of the present invention, showing how theillumination/targeting optics panel, the illumination board, the lensbarrel assembly, the camera housing, the camera board and its assemblypins are arranged and assembled with respect to each other in accordancewith the principles of the present invention;

FIG. 15 is a perspective view of the illumination/targeting opticspanel, the illumination board and the camera board of digital imagecapture and processing engine of FIG. 14Q, shown assembled with the lensbarrel assembly and the camera housing removed for clarity ofillustration;

FIG. 16 is a perspective view of the illumination/targeting optics paneland the illumination board of the engine of the present inventionassembled together as a subassembly using the assembly pins;

FIG. 17 is a perspective view of the subassembly of FIG. 16 arranged inrelation to the lens barrel assembly, the camera housing and the cameraboard of the engine of the present invention, and showing how thesesystem components are assembled together to produce the digital imagecapture and processing engine of FIG. 14Q;

FIG. 18 is a schematic block diagram representative of a system designfor the digital image capture and processing engine illustrated in FIGS.14Q through 17, wherein the system design is shown comprising (1) aMulti-Mode Area-Type Image Formation and Detection (i.e. Camera)Subsystem having image formation (camera) optics for producing a fieldof view (FOV) upon an object to be imaged and a CMOS or like area-typeimage sensing array for detecting imaged light reflected off the objectduring illumination operations in either (i) a narrow-area image capturemode in which a few central rows of pixels on the image sensing arrayare enabled, or (ii) a wide-area image capture mode in whichsubstantially all rows of the image sensing array are enabled, (2) aLED-Based Illumination Subsystem for producing a wide area field ofnarrow-band illumination within the FOV of the Image Formation AndDetection Subsystem during the image capture mode, so that only lighttransmitted from the LED-Based Illumination Subsystem and reflected fromthe illuminated object and transmitted through a narrow-bandtransmission-type optical filter realized within the hand-supportablehousing (i.e. using a red-wavelength high-pass reflecting window filterelement disposed at the light transmission aperture thereof and alow-pass filter before the image sensor) is detected by the image sensorand all other components of ambient light are substantially rejected,and an Image Cropping Pattern Generator for generating a visibleillumination-based Image Cropping Pattern (ICP) projected within thefield of view (FOV) of the Multi-Mode Area-type Image Formation andDetection Subsystem, (3) an IR-based object presence and range detectionsubsystem for producing an IR-based object detection field within theFOV of the Image Formation and Detection Subsystem, (4) an AutomaticLight Exposure Measurement and Illumination Control Subsystem formeasuring illumination levels in the FOV and controlling the operationof the LED-Based Multi-Mode Illumination Subsystem, during the imagecapture mode, (5) an Image Capturing and Buffering Subsystem forcapturing and buffering 2-D images detected by the Image Formation andDetection Subsystem, (6) an Image Processing and Cropped Image LocatingModule for processing captured and buffered images to locate the imageregion corresponding to the region defined by the Image Cropping Pattern(ICP), (7) an Image Perspective Correction and Scaling Module forcorrecting the perspective of the cropped image region and scaling thecorrected image to a predetermined (i.e. fixed) pixel image sizesuitable for decode-processing, (8) an Image-Processing Based Bar CodeSymbol Reading Subsystem for processing cropped and scaled imagesgenerated by the Image Perspective and Scaling Module and reading 1D and2D bar code symbols represented, and (9) an Input/Output Subsystem foroutputting processed image data and the like to an external host systemor other information receiving or responding device, in which each saidsubsystem component is integrated about (10) a System Control Subsystem,as shown;

FIG. 19A1 is a perspective view of an alternative illustrativeembodiment of the digital image capture and processing engine shown inFIGS. 14Q through 17, adapted for POS applications and reconfigured sothat the illumination/aiming subassembly shown in FIG. 16 is mountedadjacent the light transmission window of the engine housing, whereasthe remaining subassembly is mounted relative to the bottom of theengine housing so that the optical axis of the camera lens is parallelwith the light transmission aperture, and a field of view (FOV) foldingmirror is mounted beneath the illumination/aiming subassembly fordirecting the FOV of the system out through the central aperture formedin the illumination/aiming subassembly;

FIG. 19A2 is a schematic block diagram representative of a system designfor the digital image capture and processing engine of the presentinvention shown in FIG. 19A1, wherein the system design is similar tothat shown in FIG. 2A1, except that the Automatic Light ExposureMeasurement and Illumination Control Subsystem is adapted to measure thelight exposure on a central portion of the CMOS image sensing array andcontrol the operation of the LED-Based Multi-Mode Illumination Subsystemin cooperation with a software-based illumination metering programrealized within the Multi-Mode Image Processing Based Bar Code SymbolReading Subsystem, involving the real-time exposure quality analysis ofcaptured digital images in accordance with an adaptive system controlmethod;

FIG. 19B1 is a perspective view of an automatic imaging-based bar codesymbol reading system of the present invention supporting apresentation-type mode of operation using wide-area illumination andvideo image capture and processing techniques, and employing the generalengine design shown in FIG. 19A1;

FIG. 19B2 is a cross-sectional view of the system shown in FIG. 19B1;

FIG. 19B3 is a schematic block diagram representative of a system designfor the digital image capture and processing engine of the presentinvention shown in FIG. 19B1, wherein the system design is similar tothat shown in FIG. 2A1, except that the Automatic Light ExposureMeasurement and Illumination Control Subsystem is adapted to measure thelight exposure on a central portion of the CMOS image sensing array andcontrol the operation of the LED-Based Multi-Mode Illumination Subsystemin cooperation with a software-based illumination metering programrealized within the Multi-Mode Image Processing Based Bar Code SymbolReading Subsystem, performing the real-time exposure quality analysis ofcaptured digital images in accordance with an adaptive system controlmethod;

FIG. 19C1 is a perspective view of an automatic imaging-based bar codesymbol reading system of the present invention supporting a pass-throughmode of operation using narrow-area illumination and video image captureand processing techniques, as well as a presentation-type mode ofoperation using wide-area illumination and video image capture andprocessing techniques;

FIG. 19C2 is a schematic representation illustrating the system of FIG.19C1 operated in its Pass-Through Mode of system operation;

FIG. 19C3 is a schematic representation illustrating the system of FIG.19C1 operated in its Presentation Mode of system operation;

FIG. 19C4 is a schematic block diagram representative of a system designfor the digital image capture and processing engine of the presentinvention shown in FIGS. 19C1 and 19C2, wherein the system design issimilar to that shown in FIG. 2A1, except for the following differences:(1) the Automatic Light Exposure Measurement and Illumination ControlSubsystem is adapted to measure the light exposure on a central portionof the CMOS image sensing array and control the operation of theLED-Based Multi-Mode Illumination Subsystem in cooperation with theMulti-Mode Image Processing Based Bar Code Symbol Reading Subsystem,carrying out real-time quality analysis of captured digital images inaccordance with an adaptive system control method; (2) the narrow-areafield of illumination and image capture is oriented in the verticaldirection with respect to the counter surface of the POS environment, tosupport the Pass-Through Mode of the system, as illustrated in FIG.19C2; and (3) the IR-based object presence and range detection systememployed in FIG. 19C1 is replaced with an automatic IR-based objectpresence and direction detection subsystem which comprises fourindependent IR-based object presence and direction detection channels;

FIG. 19C5 is a schematic block diagram of the automatic IR-based objectpresence and direction detection subsystem employed in the bar codereading system illustrated in FIGS. 19C1 through 19C4, showing fourindependent IR-based object presence and direction detection channelswhich automatically generate activation control signals for fourorthogonal directions within the FOV of the system, which are receivedand processed by a signal analyzer and control logic block;

FIG. 20A is a perspective view of a first illustrative embodiment of aprojection-type POS image-processing based bar code symbol readingsystem, employing the digital image capture and processing engineshowing in FIGS. 14A through 18 or 19A1 through 19A2;

FIG. 20B is a perspective view of a second illustrative embodiment of aprojection-type POS image-processing based bar code symbol readingsystem, employing the digital image capture and processing engineshowing in FIGS. 14A through 18 or 19A1 through 19A2;

FIG. 20C is a perspective view of a third illustrative embodiment of aprojection-type POS image-processing based bar code symbol readingsystem, employing the digital image capture and processing engineshowing in FIGS. 14A through 18 or 19A1 through 19A2;

FIG. 21 is a perspective view of a price lookup unit (PLU) systememploying a digital image capture and processing subsystem of thepresent invention identifying bar coded consumer products in retailstore environments, and displaying the price thereof on the LCD panelintegrated in the system;

FIG. 22 is a high-level flow chart illustrating the steps involvingcarrying out the method of the present invention, wherein the systembehavior (i.e. features) of the imaging-based bar code symbol readingsystem of the present invention can be modified by the end-user, withina set of manufacturer-defined constraints (i.e. imposed on modifiablefeatures and functions within features), by the end-user developing,installing/deploying and configuring “plug-in modules” (i.e. libraries)for any modifiable task within the Application Layer of the system, soas to allow the end user to flexible modify and/or extend standard (i.e.prespecified) features and functionalities of the system, and thussatisfy customized end-user application requirements, but withoutrequiring detailed knowledge about the hard-ware platform of the system,its communication with the environment, and/or its user interfaces;

FIG. 23 is an exemplary flow chart representation showing whatoperations are carried out when the “Modifiable” Main Task is (enabledand) executed within the Application Layer of the system as shown inFIG. 10;

FIG. 23A is an exemplary flow chart representation showing whatoperations are carried out when the system feature called “ImagePreprocessing” is executed within the Image-Processing Based Bar CodeSymbol Reading Subsystem software module in the Application Layer of thesystem as shown in FIG. 10;

FIG. 23B is an exemplary flow chart representation showing whatoperations are carried out when the system feature called “ImageProcessing and Bar Code Decoding” is executed within the Modifiable MainTask software module in the Application Layer of the system as shown inFIG. 10;

FIG. 23C is an exemplary flow chart representation showing whatoperations are carried out when the system feature called “Data OutputProcedure” is executed within the Modifiable Main Task in theApplication Layer of the system as shown in FIG. 10;

FIG. 23C1 is an exemplary flow chart representation showing whatoperations are carried out when the system feature called “DataFormatting Procedure” is executed within the Data Output Proceduresoftware module in the Application Layer of the system as shown in FIG.10; and

FIG. 23C2 is an exemplary flow chart representation showing whatoperations are carried out when the system feature called “ScannerConfiguration Procedure” is executed within the Data Output Proceduresoftware module in the Application Layer of the system as shown in FIG.10.

DETAILED DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENTS OF THE PRESENTINVENTION

Referring to the figures in the accompanying Drawings, the variousillustrative embodiments of the hand-supportable imaging-based bar codesymbol reading system of the present invention will be described ingreater detail, wherein like elements will be indicated using likereference numerals.

Overview of the Digital Image Capture and Processing System of thePresent Invention Employing Multi-Layer Software-Based SystemArchitecture Permitting Modification and/or Extension of System Featuresand Functions by way of Third Party Code Plug-Ins

The present invention addresses the shortcomings and drawbacks of priorart digital image capture and processing systems and devices, includinglaser and digital imaging-based bar code symbol readers, by providing anovel system architecture, platform and development environment whichenables VARs, OEMs and others (i.e. other than the original systemdesigners) to modify and/or extend the standard system features andfunctions of a very broad class of digital image capture and processingsystems and devices, without requiring such third-parties to possessdetailed knowledge about the hard-ware platform of the system, itscommunications with outside environment, and/or its user-relatedinterfaces. This novel approach has numerous benefits and advantages tothird parties wishing to employ, in their third party products, thedigital image capture and processing technology of an expert digitalimager designer and manufacturer, such as Applicants and their Assignee,Metrologic Instruments, Inc., but not having to sacrifice or risk thedisclosure of its valuable intellectual property and know now, duringsuch system feature and functionality modification and/or extensionprocesses, in order to meet the requirements of its end-userapplications at hand.

As shown in FIGS. 1A through 1B, the digital image capture andprocessing system of the present invention 1000 employs a multi-tiersoftware system architecture capable of supporting various subsystemsproviding numerous standard system features and functions that can bemodified and/or extended using the innovative plug-in programmingmethods of the present invention. In the illustrative embodiments of thepresent invention disclosed herein, such subsystems include: an objectpresence detection subsystem; an object range detection subsystem; anobject velocity detection subsystem; an object dimensioning subsystem; afield of view (FOV) illumination subsystem; an imaging formation anddetection (IFD) subsystem; a digital image processing subsystem; a soundindicator output subsystem; a visual indictor output subsystem; a powermanagement subsystem; an image time/space stamping subsystem; a network(IP) address storage subsystem; a remote monitoring/servicing subsystem;an input/output subsystem; and a system control and/or coordinationsubsystem, generally integrated as shown.

For the illustrative embodiments of the present invention disclosedherein, exemplary standard system features and functions are describedin the table of FIGS. 1C1-1C3. Such system features and functions aredescribed below, in conjunction with the subsystem that generallysupports the feature and function in the digital image capture andprocessing of the present invention:

System Triggering Feature (i.e. Trigger Event Generation): ObjectPresence Detection Subsystem

Standard System Functions:

-   Automatic Triggering (i.e. IR Object Presence Detection) (e.g. ON,    OFF)-   Manual Triggering (e.g. ON, OFF)-   Semi-Automatic Triggering (e.g. ON, OFF)

Object Range Detection Feature: Object Range Detection SubsystemStandard System Functions:

-   (IR-Based) Long/Short Range Detection (e.g. ON, OFF)-   (IR-Based) Quantized/Incremental Range Detection (e.g. ON, OFF)

Object Velocity Detection Feature: Object Velocity Detection SubsystemStandard System Functions:

-   LIDAR-Based Object Velocity Detection (e.g. ON, OFF)-   IR-PULSE-DOPPLER Object Velocity Detection (e.g. ON, OFF)

Object Dimensioning Feature: Object Dimensioning Subsystem StandardSystem Functions:

-   LIDAR-based Object Dimensioning (e.g. ON or OFF)-   Structured-Laser Light Object Dimensioning (e.g. ON or OFF)

Field of View (FOV) Illumination Feature: Illumination SubsystemStandard System Functions:

-   Illumination Mode (e.g. Ambient/OFF, LED Continuous, and LED    Strobe/Flash)-   Automatic Illumination Control (i.e. ON or OFF)-   Illumination Field Type (e.g. Narrow-Area Near-Field Illumination,    Wide-Area Far-Field Illumination,-   Narrow-Area Field Of Illumination, Wide-Area Field Of Illumination)

Imaging Formation and Detection Feature: Imaging Formation and Detection(IFD) Subsystem Standard System Functions:

-   Image Capture Mode (e.g. Narrow-Area Image Capture Mode, Wide-Area    Image Capture Mode)-   Image Capture Control (e.g. Single Frame, Video Frames)-   Electronic Gain Of The Image Sensing Array (e.g. 1-10,000)-   Exposure Time For Each Image Frame Detected by The Image Sensing    Array (e.g. programmable in increments of milliseconds)-   Exposure Time For Each Block Of Imaging Pixels Within The Image    Sensing Array (e.g. programmable in increments of milliseconds)-   Field Of View Marking (e.g. One Dot Pattern; Two Dot Pattern; Four    Dot Pattern; Visible Line Pattern; Four Dot And Line Pattern)

Digital Image Processing Feature: Digital Image Processing SubsystemStandard System Functions:

-   Image Cropping Pattern on Image Sensing Array (e.g.    x1,y2,x2,y2,x3,y3,x4,y4)-   Pre-processing of Image frames (e.g. digital filter 1, digital    filter 2, . . . digital filter n) Information Recognition Processing    (e.g. Recognition of A-th Symbology; . . . Recognition of Z-th    Symbology, Alphanumerical Character String Recognition using OCR 1,    . . . Alphanumerical Character String Recognition using OCR n; and    Text Recognition Processes)-   Post-Processing (e.g. Digital Data Filter 1, Digital Data Filter 2,    . . . )-   Object Feature/Characteristic Set Recognition (e.g. ON or OFF)

Sound Indicator Output Feature: Sound Indicator Output SubsystemStandard System Functions:

-   Sound Loudness (e.g, High, Low, Medium Volume)-   Sound Pitch (e.g. freq. 1, freq2, freq3, . . . sound 1, . . . sound    N)

Visual Indictor Output Feature: Visual Indictor Output SubsystemStandard System Functions:

-   Indicator Brightness (e.g, High, Low, Medium Brightness)-   Indicator Color (e.g. red, green, yellow, blue, white)

Power Management Feature: Power Management Subsystem Standard SystemFunctions:

-   Power Operation Mode (e.g. OFF, ON Continuous, ON Energy Savings)-   Energy Savings Mode (e.g. Savings Mode No. 1, Savings Mode No. 2, .    . . Savings Mode M)

Image Time/Space Stamping Feature: Image Time/Space Stamping SubsystemStandard System Functions:

-   GPS-Based Time/Space Stamping (e.g. ON, OFF)-   Network Server Time Assignment (e.g. ON, OFF)

Network (IP) Address Storage Feature: IP Address Storage SubsystemStandard System Functions:

-   Manual IP Address Storage (e.g. ON, OFF)-   Automatic IP Address Storage via DHCP (e.g. ON, OFF)

Remote Monitoring/Servicing Feature: Remote Monitoring/ServicingSubsystem Standard System Functions:

-   TCP/IP Connection (e.g. ON, OFF)-   SNMP Agent (e.g. ACTIVE or DEACTIVE)

Input/Output Feature: Input/Output Subsystem Standard System Functions:

-   Data Communication Protocols (e.g. RS-232 Serial, USB, Bluetooth,    etc)-   Output Image File Formats (e.g. JPG/EXIF, TIFF, PICT, PDF, etc)-   Output Video File Formats (e.g. MPEG, AVI, etc)-   Data Output Format (e.g. ASCII)-   Keyboard Interface (e.g. ASCII)-   Graphical Display (LCD) Interface (e.g. ACTIVE or DEACTIVE)    System Control and/or Coordination Feature: System Control and/or    Coordination Subsystem

Standard System Functions:

-   Mode of System Operation (e.g. System Mode 1, System Mode 2, . . .    System Mode N)

As indicated in FIG. 1D, the digital image capture and processing systemof the present invention 1000, represented in FIGS. 1A through 1C3, canbe implemented using a digital camera board and a printed circuit (PC)board that are interfaced together. Alternatively, as shown in FIG. 1E,the digital image capture and processing system of the present invention1000 can also be implemented using a single hybrid digital camera/PCboard, as shown.

As shown in FIG. 1F, the digital image capture and processing system ofthe present invention can be integrated or embodied within third-partyproducts, such as, for example, but not limited to, image-processingbased bar code symbol reading systems, OCR systems, object recognitionsystems, portable data terminals (PDTs), mobile phones, computermice-type devices, personal computers, keyboards, consumer appliances,automobiles, ATMs, vending machines, reverse-vending machines, retailPOS-based transaction systems, 2D or 2D digitizers, and CAT scanningsystems, automobile identification systems, package inspection systems,and personal identification systems, and the like.

In general, the digital image capture and processing system of thepresent invention has a set of standard features and functions asdescribed above, and a set of custom features and functionalities thatsatisfy customized end-user application requirements, which typicallyaim to modify and/or extend such standard system features and functionsfor particular applications at hand.

In the illustrative embodiments described in detail below with referenceto FIGS. 2A through 13F and 57 through 59C2, the digital image captureand processing system of the present invention (regardless of thethird-product into which the system is integrated or embodied),generally comprises:

a digital camera subsystem for projecting a field of view (FOV) upon anobject to be imaged in said FOV, and detecting imaged light reflectedoff the object during illumination operations in an image capture modein which one or more digital images of the object are formed anddetected by said digital camera subsystem;

a digital image processing subsystem for processing digital images andproducing raw or processed output data or recognizing or acquiringinformation graphically represented therein, and producing output datarepresentative of the recognized information;

an input/output subsystem for transmitting said output data to anexternal host system or other information receiving or respondingdevice;

a system control system for controlling and/or coordinating theoperation of the subsystems above; and

a computing platform for supporting the implementation of one or more ofthe subsystems above, and the features and functions of the digitalimage capture and processing system.

The computing platform includes (i) memory for storing pieces oforiginal product code written by the original designers of the digitalimage capture and processing system, and (ii) a microprocessor forrunning one or more Applications by calling and executing pieces of saidoriginal product code in a particular sequence, so as support a set ofstandard features and functions which characterize a standard behaviorof the digital image capture and processing system.

As will be described in greater detail with reference to FIGS. 22through 23C2, these pieces of original product code have a set of placeholders into which third-party product code can be inserted or pluggedby third parties, including value-added resellers (VARs), originalequipment manufacturers (OEMs), and also end-users of the digital imagecapture and processing system.

In accordance with the novel principles of the present invention, one ormore pieces of third-party code (“plug-ins”) are inserted or pluggedinto the set of place holders, and operate to extend the standardfeatures and functions of the digital image capture and processingsystem, and modify the standard behavior thereof into a custom behaviorfor the digital image capture and processing system.

In most embodiments of the present invention, the digital image captureand processing system will further comprise a housing having a lighttransmission window, wherein the FOV is projected through the lighttransmission window and upon an object to be imaged in the FOV. Also,typically, these pieces of original product code as well as third-partyproduct code are maintained in one or more libraries supported in thememory structure of the computing platform. In general, such memorycomprises a memory architecture having different kinds of memory, eachhaving a different access speed and performance characteristics.

In accordance with the principles of the present invention, theend-user, such a value-added reseller (VAR) or original equipmentmanufacturer (OEM), can write such pieces of third-party code (i.e.plug-ins) according to specifications set by the original systemdesigners, and these pieces of custom code can be plugged into the placeholders, so as to modify and extend the features and functions of thedigital image capture and processing system (or third-party product intowhich the system is integrated or embodied), and modify the standardbehavior of the digital image capture and processing system into acustom behavior for the digital image capture and processing system,without permanently modifying the standard features and functions of thedigital image capture and processing system.

In some illustrative embodiments of the present invention, the digitalcamera system comprises: a digital image formation and detectionsubsystem having (i) image formation optics for projecting the FOVthrough a light transmission window and upon the object to be imaged inthe FOV, and (ii) an image sensing array for detecting imaged lightreflected off the object during illumination operations in an imagecapture mode in which sensor elements in the image sensing array areenabled so as to detect one or more digital images of the object formedon the image sensing array; an illumination subsystem having anillumination array for producing and projecting a field of illuminationthrough the light transmission window and within the FOV during theimage capture mode; and an image capturing and buffering subsystem forcapturing and buffering these digital images detected by the imageformation and detection subsystem.

The image sensing array can be realized by a digital image sensingstructure selected from the group consisting of an area-type imagesensing array, and a linear-type image sensing array.

Preferably, the memory employed in the computing platform of the systemmaintains system parameters used to configure the functions of thedigital image capture and processing system. In the illustrativeembodiments, the memory comprises a memory architecture that supports athree-tier modular software architecture characterized by an OperatingSystem (OS) layer, a System CORE (SCORE) layer, and an Application layerand responsive to the generation of a triggering event within saiddigital-imaging based code symbol reading system, as shown in FIG. 10.The OS layer includes one or more software modules selected from thegroup consisting of an OS kernal module, an OS file system module, anddevice driver modules. The SCORE layer includes one or more of softwaremodules selected from the group consisting of a tasks manager module, anevents dispatcher module, an input/output manager module, a usercommands manager module, the timer subsystem module, an input/outputsubsystem module and an memory control subsystem module. The ApplicationLayer includes one or more software modules selected from the groupconsisting of a code symbol decoding module, a function programmingmodule, an application events manager module, a user commands tablemodule, and a command handler module.

The field of illumination projected from the illumination subsystem canbe narrow-band illumination produced from an array of light emittingdiodes (LEDs). Also, the digital image processing subsystem is typicallyadapted to process captured digital images so as to read one or morecode symbols graphically represented in the digital images, and producesoutput data in the form of symbol character data representative of theread one or more code symbols. Each code symbol can be a bar code symbolselected from the group consisting of a 1D bar code symbol, a 2D barcode symbol, and a data matrix type code symbol structure.

These and other aspects of the present invention will become apparenthereinafter and in the claims. It is, therefore, appropriate at thisjuncture to now describe in detail, the various illustrative embodimentsof the digital image capture and processing system of the presentinvention depicted in FIG. 1A through 1F. In each of these illustrativeembodiments shown in FIGS. 2A through 13F and 14Q through 21, thedigital image capture and processing system 1000 of the presentinvention is either integrated or embodied into the structure, featuresand functionalities of the systems or products shown. After theseillustrative embodiments have been described, the technical aspects ofthe plug-in programming methods of the present invention will bedescribed in great detail with reference to FIGS. 22 through 23C2.

Hand-Supportable Digital Imaging-Based Bar Code Reading Device of theFirst Illustrative Embodiment of the Present Invention

Referring to FIGS. 2A through 2L, the hand-supportable digitalimaging-based bar code symbol reading device of the first illustrativeembodiment of the present invention 1 is shown in detail comprising ahand-supportable housing 2 having a handle portion 2A and a head portion2B that is provided with a light transmission window 3 with a high-pass(red-wavelength reflecting) optical filter element 4A having lighttransmission characteristics set forth in FIG. 5A2, in the illustrativeembodiment. As will be described in greater detail hereinafter,high-pass optical filter element 4A cooperates within an interiorlymounted low-pass optical filter element 4B characterized in FIG. 5A1,which cooperates with the high-pass optical filter element 4A. Thesehigh and low pass filter elements 4A and 4B cooperate to provide anarrow-band optical filter system 4 that integrates with the headportion of the housing and permits only a narrow band of illumination(e.g. 633 nanometers) to exit and enter the housing during imagingoperations.

As best shown in FIGS. 2I, 2J, and 2K, the hand-supportable housing 2 ofthe illustrative embodiment comprises: left and right housing handlehalves 2A1 and 2A2; a foot-like structure 2A3 which is mounted betweenthe handle halves 2A1 and 2A2; a trigger switch structure 2C which snapfits within and pivots within a pair of spaced apart apertures 2D1 and2D2 provided in the housing halves; a light transmission window panel 5through which light transmission window 3 is formed and supported withina recess formed by handle halves 2A1 and 2A2 when they are broughttogether, and which supports all LED illumination arrays provided by thesystem; an optical bench 6 for supporting electro-optical components andoperably connected an orthogonally-mounted PC board 7 which is mountedwithin the handle housing halves; a top housing portion 2B1 forconnection with the housing handle halves 2A1 and 2A2 and enclosing thehead portion of the housing; light pipe lens element 7 for mounting overan array of light emitting diodes (LEDs) 9 and light pipe structures 10mounted within the rear end of the head portion of the hand-supportablehousing; and a front bumper structure 2E for holding together the tophousing portion 2B1 and left and right handle halves 2A1 and 2A2 withthe light transmission window panel 5 sandwiched therebetween, whileproviding a level of shock protection thereto.

In other embodiments of the present invention the form factor of thehand-supportable housing might be different. In yet other applications,the housing need not even be hand-supportable, but rather might bedesigned for stationary support on a desktop or countertop surface, orfor use in a commercial or industrial application.

Schematic Block Functional Diagram as System Design Model for theHand-Supportable Digital Image-Based Bar Code Reading Device of thePresent Invention

As shown in the system design model of FIG. 2L1, the hand-supportableDigital Imaging-Based Bar Code Symbol Reading Device 1 of theillustrative embodiment comprises: an IR-based Object Presence and RangeDetection Subsystem 12; a Multi-Mode Area-type Image Formation andDetection (i.e. camera) Subsystem 13 having narrow-area mode of imagecapture, near-field wide-area mode of image capture, and a far-fieldwide-area mode of image capture; a Multi-Mode LED-Based IlluminationSubsystem 14 having narrow-area mode of illumination, near-fieldwide-area mode of illumination, and a far-field wide-area mode ofillumination; an Automatic Light Exposure Measurement and IlluminationControl Subsystem 15; an Image Capturing and Buffering Subsystem 16; aMulti-Mode Image-Processing Bar Code Symbol Reading Subsystem 17 havingfive modes of image-processing based bar code symbol reading indicatedin FIG. 2L2 and to be described in detail hereinabove; an Input/OutputSubsystem 18; a manually-actuatable trigger switch 2C for sendinguser-originated control activation signals to the device; a System ModeConfiguration Parameter Table 70; and a System Control Subsystem 18integrated with each of the above-described subsystems, as shown.

The primary function of the IR-based Object Presence and Range DetectionSubsystem 12 is to automatically produce an IR-based object detectionfield 20 within the FOV of the Multi-Mode Image Formation and DetectionSubsystem 13, detect the presence of an object within predeterminedregions of the object detection field (20A, 20B), and generate controlactivation signals A1 which are supplied to the System Control Subsystem19 for indicating when and where an object is detected within the objectdetection field of the system.

In the first illustrative embodiment, the Multi-Mode Image Formation AndDetection (I.E. Camera) Subsystem 13 has image formation (camera) optics21 for producing a field of view (FOV) 23 upon an object to be imagedand a CMOS area-image sensing array 22 for detecting imaged lightreflected off the object during illumination and imageacquisition/capture operations.

In the first illustrative embodiment, the primary function of theMulti-Mode LED-Based Illumination Subsystem 14 is to produce anarrow-area illumination field 24, near-field wide-area illuminationfield 25, and a far-field wide-area illumination field 25, each having anarrow optical-bandwidth and confined within the FOV of the Multi-ModeImage Formation And Detection Subsystem 13 during narrow-area andwide-area modes of imaging, respectively. This arrangement is designedto ensure that only light transmitted from the Multi-Mode IlluminationSubsystem 14 and reflected from the illuminated object is ultimatelytransmitted through a narrow-band transmission-type optical filtersubsystem 4 realized by (1) high-pass (i.e. red-wavelength reflecting)filter element 4A mounted at the light transmission aperture 3immediately in front of panel 5, and (2) low-pass filter element 4Bmounted either before the image sensing array 22 or anywhere after panel5 as shown in FIG. 3C. FIG. 5A4 sets forth the resulting compositetransmission characteristics of the narrow-band transmission spectralfilter subsystem 4, plotted against the spectral characteristics of theemission from the LED illumination arrays employed in the Multi-ModeIllumination Subsystem 14.

The primary function of the narrow-band integrated optical filtersubsystem 4 is to ensure that the CMOS image sensing array 22 onlyreceives the narrow-band visible illumination transmitted by the threesets of LED-based illumination arrays 27, 28 and 29 driven by LED drivercircuitry 30 associated with the Multi-Mode Illumination Subsystem 14,whereas all other components of ambient light collected by the lightcollection optics are substantially rejected at the image sensing array22, thereby providing improved SNR thereat, thus improving theperformance of the system.

The primary function of the Automatic Light Exposure Measurement andIllumination Control Subsystem 15 is to twofold: (1) to measure, inreal-time, the power density [joules/cm] of photonic energy (i.e. light)collected by the optics of the system at about its image sensing array22, and generate Auto-Exposure Control Signals indicating the amount ofexposure required for good image formation and detection; and (2) incombination with Illumination Array Selection Control Signal provided bythe System Control Subsystem 19, automatically drive and control theoutput power of selected LED arrays 27, 28 and/or 29 in the Multi-ModeIllumination Subsystem, so that objects within the FOV of the system areoptimally exposed to LED-based illumination and optimal images areformed and detected at the image sensing array 22.

The primary function of the Image Capturing and Buffering Subsystem 16is to (1) detect the entire 2-D image focused onto the 2D image sensingarray 22 by the image formation optics 21 of the system, (2) generate aframe of digital pixel data 31 for either a selected region of interestof the captured image frame, or for the entire detected image, and then(3) buffer each frame of image data as it is captured. Notably, in theillustrative embodiment, a single 2D image frame (31) is captured duringeach image capture and processing cycle, or during a particular stage ofa processing cycle, so as to eliminate the problems associated withimage frame overwriting, and synchronization of image capture anddecoding processes, as addressed in U.S. Pat. Nos. 5,932,862 and5,942,741 assigned to Welch Allyn, and incorporated herein by reference.

The primary function of the Multi-Mode Imaging-Based Bar Code SymbolReading Subsystem 17 is to process images that have been captured andbuffered by the Image Capturing and Buffering Subsystem 16, during bothnarrow-area and wide-area illumination modes of system operation. Suchimage processing operations include image-based bar code decoding, anddescribed in detail hereinafter in Applicant WIPO InternationalPublication No. 2005/050390, incorporated herein by reference.

The primary function of the Input/Output Subsystem 18 is to supportstandard and/or proprietary communication interfaces with external hostsystems and devices, and output processed image data and the like tosuch external host systems or devices by way of such interfaces.Examples of such interfaces, and technology for implementing the same,are given in U.S. Pat. No. 6,619,549, incorporated herein by referencein its entirety.

The primary function of the System Control Subsystem 19 is to providesome predetermined degree of control or management signaling services toeach subsystem component integrated, as shown. While this subsystem canbe implemented by a programmed microprocessor, in the illustrativeembodiment, it is implemented by the three-tier software architecturesupported on computing platform shown in FIG. 2M, and as represented inFIGS. 11A through 13F, and described in detail hereinafter.

The primary function of the manually-activatable Trigger Switch 2Cintegrated with the hand-supportable housing is to enable the user togenerate a control activation signal upon manually depressing theTrigger Switch 2C, and to provide this control activation signal to theSystem Control Subsystem 19 for use in carrying out its complex systemand subsystem control operations, described in detail herein.

The primary function of the System Mode Configuration Parameter Table 70is to store (in non-volatile/persistent memory) a set of configurationparameters for each of the available Programmable Modes of SystemOperation specified in the Programmable Mode of Operation Table, andwhich can be read and used by the System Control Subsystem 19 asrequired during its complex operations.

The detailed structure and function of each subsystem will now bedescribed in detail above.

Schematic Diagram as System Implementation Model for theHand-Supportable Digital Imaging-Based Bar Code Reading Device of thePresent Invention

FIG. 2B shows a schematic diagram of a system implementation for thehand-supportable Digital Imaging-Based Bar Code Symbol Reading Device 1illustrated in FIGS. 2A through 2L. As shown in this systemimplementation, the bar code symbol reading device is realized using anumber of hardware component comprising: an illumination board 33carrying components realizing electronic functions performed by theLED-Based Multi-Mode Illumination Subsystem 14 and Automatic LightExposure Measurement And Illumination Control Subsystem 15; a CMOScamera board 34 carrying high resolution (1280×1024 7-bit 6 micron pixelsize) CMOS image sensing array 22 running at 25 Mhz master clock, at 7frames/second at 1280*1024 resolution with randomly accessible region ofinterest (ROI) window capabilities, realizing electronic functionsperformed by the Multi-Mode Image Formation and Detection Subsystem 13;a CPU board 35 (i.e. computing platform) including (i) an Intel Sabinal32-Bit Microprocessor PXA210 36 running at 200 mHz 1.0 core voltage witha 16 bit 100 Mhz external bus speed, (ii) an expandable (e.g. 7+megabyte) Intel J3 Asynchronous 16-bit Flash memory 37, (iii) an 16Megabytes of 100 MHz SDRAM 38, (iv) an Xilinx Spartan II FPGA FIFO 39running at 50 Mhz clock frequency and 60 MB/Sec data rate, configured tocontrol the camera timings and drive an image acquisition process, (v) amultimedia card socket 40, for realizing the other subsystems of thesystem, (vi) a power management module 41 for the MCU adjustable by theI2C bus, and (vii) a pair of UARTs 42A and 42B (one for an IRDA port andone for a JTAG port); an interface board 43 for realizing the functionsperformed by the I/O subsystem 18; and an IR-based object presence andrange detection circuit 44 for realizing Subsystem 12, which includes apair of IR LEDs and photodiodes 12A for transmitting and receiving apencil-shaped IR-based object-sensing signal.

In the illustrative embodiment, the image formation optics 21 supportedby the bar code reader provides a field of view of 103 mm at the nominalfocal distance to the target, of approximately 70 mm from the edge ofthe bar code reader. The minimal size of the field of view (FOV) is 62mm at the nominal focal distance to the target of approximately 10 mm.Preliminary tests of the parameters of the optics are shown on FIG. 4B(the distance on FIG. 4B is given from the position of the image sensingarray 22, which is located inside the bar code symbol readerapproximately 80 mm from the edge). As indicated in FIG. 4C, the depthof field of the image formation optics varies from approximately 69 mmfor the bar codes with resolution of 5 mils per narrow module, to 181 mmfor the bar codes with resolution of 13 mils per narrow module.

The Multi-Mode Illumination Subsystem 14 is designed to cover theoptical field of view (FOV) 23 of the bar code symbol reader withsufficient illumination to generate high-contrast images of bar codeslocated at both short and long distances from the imaging window. Theillumination subsystem also provides a narrow-area (thin height)targeting beam 24 having dual purposes: (a) to indicate to the userwhere the optical view of the reader is; and (b) to allow a quick scanof just a few lines of the image and attempt a super-fast bar codedecoding if the bar code is aligned properly. If the bar code is notaligned for a linearly illuminated image to decode, then the entirefield of view is illuminated with a wide-area illumination field 25 or26 and the image of the entire field of view is acquired by ImageCapture and Buffering Subsystem 16 and processed by Multi-Mode Bar CodeSymbol Reading Subsystem 17, to ensure reading of a bar code symbolpresented therein regardless of its orientation.

The interface board 43 employed within the bar code symbol readerprovides the hardware communication interfaces for the bar code symbolreader to communicate with the outside world. The interfaces implementedin system will typically include RS232, keyboard wedge, and/or USB, orsome combination of the above, as well as others required or demanded bythe particular application at hand.

Specification of the Area-Type Image Formation and Detection (i.e.Camera) Subsystem during its Narrow-Area (Linear) and Wide-Area Modes ofImaging, Supported by the Narrow and Wide Area Fields of Narrow-BandIllumination, Respectively

As shown in FIGS. 3B through 3E, the Multi-Mode Image Formation AndDetection (IFD) Subsystem 13 has a narrow-area image capture mode (i.e.where only a few central rows of pixels about the center of the imagesensing array are enabled) and a wide-area image capture mode ofoperation (i.e. where all pixels in the image sensing array areenabled). The CMOS image sensing array 22 in the Image Formation andDetection Subsystem 13 has image formation optics 21 which provides theimage sensing array with a field of view (FOV) 23 on objects to beilluminated and imaged. As shown, this FOV is illuminated by theMulti-Mode Illumination Subsystem 14 integrated within the bar codereader.

The Multi-Mode Illumination Subsystem 14 includes three differentLED-based illumination arrays 27, 28 and 29 mounted on the lighttransmission window panel 5, and arranged about the light transmissionwindow 4A. Each illumination array is designed to illuminate a differentportion of the FOV of the bar code reader during different modes ofoperation. During the narrow-area (linear) illumination mode of theMulti-Mode Illumination Subsystem 14, the central narrow-wide portion ofthe FOV indicated by 23 is illuminated by the narrow-area illuminationarray 27, shown in FIG. 3A. During the near-field wide-area illuminationmode of the Multi-Mode Illumination Subsystem 14, which is activated inresponse to the IR Object Presence and Range Detection Subsystem 12detecting an object within the near-field portion of the FOV, thenear-field wide-area portion of the FOV is illuminated by the near-fieldwide-area illumination array 28, shown in FIG. 3A. During the far-fieldwide-area illumination mode of the Multi-Mode Illumination Subsystem 14,which is activated in response to the IR Object Presence and RangeDetection Subsystem 12 detecting an object within the far-field portionof the FOV, the far-field wide-area portion of the FOV is illuminated bythe far-field wide-area illumination array 29, shown in FIG. 3A. In FIG.3A, the spatial relationships are shown between these fields ofnarrow-band illumination and the far and near field portions the FOV ofthe Image Formation and Detection Subsystem 13.

In FIG. 3B, the Multi-Mode LED-Based Illumination Subsystem 14 is showntransmitting visible narrow-band illumination through its narrow-bandtransmission-type optical filter subsystem 4, shown in FIG. 3C andintegrated within the hand-supportable Digital Imaging-Based Bar CodeSymbol Reading Device. The narrow-band illumination from the Multi-ModeIllumination Subsystem 14 illuminates an object with the FOV of theimage formation optics of the Image Formation and Detection Subsystem13, and light rays reflected and scattered therefrom are transmittedthrough the high-pass and low-pass optical filters 4A and 4B and areultimately focused onto image sensing array 22 to form of a focuseddetected image thereupon, while all other components of ambient lightare substantially rejected before reaching image detection at the imagesensing array 22. Notably, in the illustrative embodiment, thered-wavelength reflecting high-pass optical filter element 4A ispositioned at the imaging window of the device before the imageformation optics 21, whereas the low-pass optical filter element 4B isdisposed before the image sensing array 22 between the focusing lenselements of the image formation optics 21. This forms narrow-bandoptical filter subsystem 4 which is integrated within the bar codereader to ensure that the object within the FOV is imaged at the imagesensing array 22 using only spectral components within the narrow-bandof illumination produced from Subsystem 14, while rejectingsubstantially all other components of ambient light outside this narrowrange (e.g. 15 nm).

As shown in FIG. 3D, the Image Formation And Detection Subsystem 14employed within the hand-supportable image-based bar code reading devicecomprising three lenses 21A, 21B and 21C, each made as small as possible(with a maximum diameter of 12 mm), having spherical surfaces, and madefrom common glass, e.g. LAK2 (˜LaK9), ZF10 (=SF8), LAF2 (˜LaF3).Collectively, these lenses are held together within a lens holdingassembly 45, as shown in FIG. 3E, and form an image formation subsystemarranged along the optical axis of the CMOS image sensing array 22 ofthe bar code reader.

As shown in FIG. 3E, the lens holding assembly 45 comprises: a barrelstructure 45A1, 45A2 for holding lens elements 21A, 21B and 21C; and abase structure 45B for holding the image sensing array 22; wherein theassembly is configured so that the barrel structure 45A slides withinthe base structure 45B so as to focus the fixed-focus lens assemblyduring manufacture.

In FIG. 3F1 and 3F2, the lens holding assembly 45 and imaging sensingarray 22 are mounted along an optical path defined along the centralaxis of the system. In the illustrative embodiment, the image sensingarray 22 has, for example, a 1280×1024 pixel resolution (½″ format), 6micron pixel size, with randomly accessible region of interest (ROI)window capabilities. It is understood, though, that many others kinds ofimaging sensing devices (e.g. CCD) can be used to practice theprinciples of the present invention disclosed herein, without departingfrom the scope or spirit of the present invention.

Details regarding a preferred Method of Designing the Image Formation(i.e. Camera) Optics Within the Image-Based Bar Code Reader Of ThePresent Invention Using The Modulation Transfer Function (MTF) and alsoa Method Of Theoretically Characterizing The DOF Of The Image FormationOptics Employed In The Imaging-Based Bar Code Reader Of The PresentInvention can be found in WIPO International Publication No. WO2005/050390, supra.

Specification of Multi-Mode LED-Based Illumination Subsystem Employed inthe Hand-Supportable Image-Based Bar Code Reading System of the PresentInvention

In the illustrative embodiment, the LED-Based Multi-Mode IlluminationSubsystem 14 comprises: narrow-area illumination array 27; near-fieldwide-area illumination array 28; and far-field wide-area illuminationarray 29. The three fields of narrow-band illumination produced by thethree illumination arrays of subsystem 14 are schematically depicted inFIG. 4A1. As will be described hereinafter, narrow-area illuminationarray 27 can be realized as two independently operable arrays, namely: anear-field narrow-area illumination array and a far-field narrow-areaillumination array, which are activated when the target object isdetected within the near and far fields, respectively, of the automaticIR-based Object Presence and Range Detection Subsystem 12 duringwide-area imaging modes of operation. However, for purposes ofillustration, the first illustrative embodiment of the present inventionemploys only a single field narrow-area (linear) illumination arraywhich is designed to illuminate over substantially entire working rangeof the system, as shown in FIG. 4A1.

As shown in FIGS. 4B, 4C3 and 4C4, the narrow-area (linear) illuminationarray 27 includes two pairs of LED light sources 27A1 and 27A2 providedwith cylindrical lenses 27B1 and 27B2, respectively, and mounted on leftand right portions of the light transmission window panel 5. During thenarrow-area image capture mode of the Image Formation and DetectionSubsystem 13, the narrow-area (linear) illumination array 27 producesnarrow-area illumination field 24 of narrow optical-bandwidth within theFOV of the system. In the illustrative embodiment, narrow-areaillumination field 24 has a height less than 10 mm at far field,creating the appearance of substantially linear or rather planarillumination field.

The near-field wide-area illumination array 28 includes two sets of(flattop) LED light sources 28A1-28A6 and 28A7-28A13 without any lensesmounted on the top and bottom portions of the light transmission windowpanel 5, as shown in FIG. 4B. During the near-field wide-area imagecapture mode of the Image Formation and Detection Subsystem 13, thenear-field wide-area illumination array 28 produces a near-fieldwide-area illumination field 25 of narrow optical-bandwidth within theFOV of the system.

As shown in FIGS. 4B, 4D3 and 4D4, the far-field wide-area illuminationarray 29 includes two sets of LED light sources 29A1-29A6 and 29A7-29A13provided with spherical (i.e. plano-convex) lenses 29B1-29B6 and29B7-29B13, respectively, and mounted on the top and bottom portions ofth light transmission window panel 5. During the far-field wide-areaimage capture mode of the Image Formation and Detection Subsystem 13,the far-field wide-area illumination array 29 produces a far-fieldwide-area illumination beam of narrow optical-bandwidth within the FOVof the system.

Narrow-Area (Linear) Illumination Arrays Employed in the Multi-ModeIllumination Subsystem

As shown in FIG. 4A1, the narrow-area (linear) illumination field 24extends from about 30 mm to about 200 mm within the working range of thesystem, and covers both the near and far fields of the system. Thenear-field wide-area illumination field 25 extends from about 0 mm toabout 100 mm within the working range of the system. The far-fieldwide-area illumination field 26 extends from about 100 mm to about 200mm within the working range of the system. The Table shown in FIG. 4A2specifies the geometrical properties and characteristics of eachillumination mode supported by the Multi-Mode LED-based IlluminationSubsystem 14 of the present invention.

The narrow-area illumination array 27 employed in the Multi-ModeLED-Based Illumination Subsystem 14 is optically designed to illuminatea thin area at the center of the field of view (FOV) of theimaging-based bar code symbol reader, measured from the boundary of theleft side of the field of view to the boundary of its right side, asspecified in FIG. 4A1. As will be described in greater detailhereinafter, the narrow-area illumination field 24 is automaticallygenerated by the Multi-Mode LED-Based Illumination Subsystem 14 inresponse to the detection of an object within the object detection fieldof the automatic IR-based Object Presence and Range Detection Subsystem12. In general, the object detection field of the IR-based ObjectPresence and Range Detection Subsystem 12 and the FOV of the ImageFormation and Detection Subsystem 13 are spatially co-extensive and theobject detection field spatially overlaps the FOV along the entireworking distance of the imaging-based bar code symbol reader. Thenarrow-area illumination field 24, produced in response to the detectionof an object, serves a dual purpose: it provides a visual indication toan operator about the location of the optical field of view of the barcode symbol reader, thus, serves as a field of view aiming instrument;and during its image acquisition mode, the narrow-area illumination beamis used to illuminated a thin area of the FOV within which an objectresides, and a narrow 2-D image of the object can be rapidly captured(by a small number of rows of pixels in the image sensing array 22),buffered and processed in order to read any linear bar code symbols thatmay be represented therewithin.

FIG. 4C1 shows the Lambertian emittance versus wavelengthcharacteristics of the LEDs used to implement the narrow-areaillumination array 27 in the Multi-Mode Illumination Subsystem 14. FIG.4C2 shows the Lambertian emittance versus polar angle characteristics ofthe same LEDs. FIG. 4C3 shows the cylindrical lenses used before theLEDs (633 nm InGaAlP) in the narrow-area (linear) illumination arrays inthe illumination subsystem of the present invention. As shown, the firstsurface of the cylindrical lens is curved vertically to create anarrow-area (linear) illumination pattern, and the second surface of thecylindrical lens is curved horizontally to control the height of the ofthe linear illumination pattern to produce a narrow-area illuminationpattern. FIG. 4C4 shows the layout of the pairs of LEDs and twocylindrical lenses used to implement the narrow-area illumination arrayof the illumination subsystem of the present invention. In theillustrative embodiment, each LED produces about a total output power ofabout 11.7 mW under typical conditions. FIG. 4C5 sets forth a set of sixillumination profiles for the narrow-area illumination fields producedby the narrow-area illumination arrays of the illustrative embodiment,taken at 30, 40, 50, 80, 120, and 220 millimeters along the field awayfrom the imaging window (i.e. working distance) of the bar code readerof the present invention, illustrating that the spatial intensity of thearea-area illumination field begins to become substantially uniform atabout 80 millimeters. As shown, the narrow-area illumination beam isusable beginning 40 mm from the light transmission/imaging window.

Near-Field Wide-Area Illumination Arrays Employed in the Multi-ModeIllumination Subsystem

The near-field wide-area illumination array 28 employed in the LED-BasedMulti-Mode Illumination Subsystem 14 is optically designed to illuminatea wide area over a near-field portion of the field of view (FOV) of theimaging-based bar code symbol reader, as defined in FIG. 4A1. As will bedescribed in greater detail hereinafter, the near-field wide-areaillumination field 28 is automatically generated by the LED-basedMulti-Mode Illumination Subsystem 14 in response to: (1) the detectionof any object within the near-field of the system by the IR-based ObjectPresence and Range Detection Subsystem 12; and (2) one or more offollowing events, including, for example: (i) failure of the imageprocessor to successfully decode process a linear bar code symbol duringthe narrow-area illumination mode; (ii) detection of code elements suchas control words associated with a 2-D bar code symbol; and/or (iii)detection of pixel data in the image which indicates that object wascaptured in a state of focus.

In general, the object detection field of the IR-based Object Presenceand Range Detection Subsystem 12 and the FOV of the Image Formation AndDetection Subsystem 13 are spatially co-extensive and the objectdetection field spatially overlaps the FOV along the entire workingdistance of the imaging-based bar code symbol reader. The near-fieldwide-area illumination field 23, produced in response to one or more ofthe events described above, illuminates a wide area over a near-fieldportion of the field of view (FOV) of the imaging-based bar code symbolreader, as defined in FIG. 5A, within which an object resides, and a 2-Dimage of the object can be rapidly captured by all rows of the imagesensing array 22, buffered and decode-processed in order to read any 1Dor 2-D bar code symbols that may be represented therewithin, at anyorientation, and of virtually any bar code symbology. The intensity ofthe near-field wide-area illumination field during object illuminationand image capture operations is determined by how the LEDs associatedwith the near-field wide array illumination arrays 28 are electricallydriven by the Multi-Mode Illumination Subsystem 14. The degree to whichthe LEDs are driven is determined by the intensity of reflected lightmeasured near the image formation plane by the automatic light exposureand control subsystem 15. If the intensity of reflected light at thephotodetector of the Automatic Light Exposure Measurement andIllumination Control Subsystem 15 is weak, indicative that the objectexhibits low light reflectivity characteristics and a more intenseamount of illumination will need to be produced by the LEDs to ensuresufficient light exposure on the image sensing array 22, then theAutomatic Light Exposure Measurement and Illumination Control Subsystem15 will drive the LEDs more intensely (i.e. at higher operatingcurrents).

FIG. 4D1 shows the Lambertian emittance versus wavelengthcharacteristics of the LEDs used to implement the wide area illuminationarrays in the illumination subsystem of the present invention. FIG. 4D2shows the Lambertian emittance versus polar angle characteristics of theLEDs used to implement the near field wide-area illumination arrays inthe Multi-Mode Illumination Subsystem 14. FIG. 4D4 is geometrical thelayout of LEDs used to implement the narrow wide-area illumination arrayof the Multi-Mode Illumination Subsystem 14, wherein the illuminationbeam produced therefrom is aimed by angling the lenses before the LEDsin the near-field wide-area illumination arrays of the Multi-ModeIllumination Subsystem 14. FIG. 4D5 sets forth a set of six illuminationprofiles for the near-field wide-area illumination fields produced bythe near-field wide-area illumination arrays of the illustrativeembodiment, taken at 10, 20, 30, 40, 60, and 100 millimeters along thefield away from the imaging window (i.e. working distance) of theimaging-based bar code symbol reader 1. These plots illustrate that thespatial intensity of the near-field wide-area illumination field beginsto become substantially uniform at about 40 millimeters (i.e.center:edge=2:1 max).

Far-Field Wide-Area Illumination Arrays Employed in the Multi-ModeIllumination Subsystem

The far-field wide-area illumination array 26 employed in the Multi-ModeLED-based Illumination Subsystem 14 is optically designed to illuminatea wide area over a far-field portion of the field of view (FOV) of theimaging-based bar code symbol reader, as defined in FIG. 4A1. As will bedescribed in greater detail hereinafter, the far-field wide-areaillumination field 26 is automatically generated by the LED-BasedMulti-Mode Illumination Subsystem 14 in response to: (1) the detectionof any object within the near-field of the system by the IR-based ObjectPresence and Range Detection Subsystem 12; and (2) one or more offollowing events, including, for example: (i) failure of the imageprocessor to successfully decode process a linear bar code symbol duringthe narrow-area illumination mode; (ii) detection of code elements suchas control words associated with a 2-D bar code symbol; and/or (iii)detection of pixel data in the image which indicates that object wascaptured in a state of focus. In general, the object detection field ofthe IR-based Object Presence and Range Detection Subsystem 12 and theFOV 23 of the image detection and formation subsystem 13 are spatiallyco-extensive and the object detection field 20 spatially overlaps theFOV 23 along the entire working distance of the imaging-based bar codesymbol reader. The far-field wide-area illumination field 26, producedin response to one or more of the events described above, illuminates awide area over a far-field portion of the field of view (FOV) of theimaging-based bar code symbol reader, as defined in FIG. 5A, withinwhich an object resides, and a 2-D image of the object can be rapidlycaptured (by all rows of the image sensing array 22), buffered andprocessed in order to read any 1D or 2-D bar code symbols that may berepresented therewithin, at any orientation, and of virtually any barcode symbology. The intensity of the far-field wide-area illuminationfield during object illumination and image capture operations isdetermined by how the LEDs associated with the far-field wide-areaillumination array 29 are electrically driven by the Multi-ModeIllumination Subsystem 14. The degree to which the LEDs are driven (i.e.measured in terms of junction current) is determined by the intensity ofreflected light measured near the image formation plane by the AutomaticLight Exposure Measurement And Illumination Control Subsystem 15. If theintensity of reflected light at the photo-detector of the AutomaticLight Exposure Measurement and Illumination Control Subsystem 15 isweak, indicative that the object exhibits low light reflectivitycharacteristics and a more intense amount of illumination will need tobe produced b the LEDs to ensure sufficient light exposure on the imagesensing array 22, then the Automatic Light Exposure Measurement andIllumination Control Subsystem 15 will drive the LEDs more intensely(i.e. at higher operating currents).

During both near and far field wide-area illumination modes ofoperation, the Automatic Light Exposure Measurement and IlluminationControl Subsystem (i.e. module) 15 measures and controls the timeduration which the Multi-Mode Illumination Subsystem 14 exposes theimage sensing array 22 to narrow-band illumination (e.g. 633 nanometers,with approximately 15 nm bandwidth) during the imagecapturing/acquisition process, and automatically terminates thegeneration of such illumination when such computed time durationexpires. In accordance with the principles of the present invention,this global exposure control process ensures that each and everyacquired image has good contrast and is not saturated, two conditionsessential for consistent and reliable bar code reading

FIG. 4D1 shows the Lambertian emittance versus wavelengthcharacteristics of the LEDs used to implement the far-field wide-areaillumination arrays 29 in the Multi-Mode Illumination Subsystem 14. FIG.4D2 shows the Lambertian emittance versus polar angle characteristics ofthe LEDs used to implement the same. FIG. 4D3 shows the plano-convexlenses used before the LEDs in the far-field wide-area illuminationarrays in the Multi-Mode Illumination Subsystem 14. FIG. 4D4 shows alayout of LEDs and plano-convex lenses used to implement the farwide-area illumination array 29 of the illumination subsystem, whereinthe illumination beam produced therefrom is aimed by angling the lensesbefore the LEDs in the far-field wide-area illumination arrays of theMulti-Mode Illumination Subsystem 14. FIG. 4D6 sets forth a set of threeillumination profiles for the far-field wide-area illumination fieldsproduced by the far-field wide-area illumination arrays of theillustrative embodiment, taken at 100, 150 and 220 millimeters along thefield away from the imaging window (i.e. working distance) of theimaging-based bar code symbol reader 1, illustrating that the spatialintensity of the far-field wide-area illumination field begins to becomesubstantially uniform at about 100 millimeters. FIG. 4D7 shows a tableillustrating a preferred method of calculating the pixel intensity valuefor the center of the far field wide-area illumination field producedfrom the Multi-Mode Illumination Subsystem 14, showing a significantsignal strength (greater than 80 DN at the far center field).

Specification of the Narrow-Band Optical Filter Subsystem IntegratedWithin the Hand-Supportable Housing of the Imager of the PresentInvention

As shown in FIG. 5A1, the hand-supportable housing of the bar codereader of the present invention has integrated within its housing,narrow-band optical filter subsystem 4 for transmitting substantiallyonly the very narrow band of wavelengths (e.g. 620-700 nanometers) ofvisible illumination produced from the narrow-band Multi-ModeIllumination Subsystem 14, and rejecting all other optical wavelengthsoutside this narrow optical band however generated (i.e. ambient lightsources). As shown, narrow-band optical filter subsystem 4 comprises:red-wavelength reflecting (high-pass) imaging window filter 4Aintegrated within its light transmission aperture 3 formed on the frontface of the hand-supportable housing; and low pass optical filter 4Bdisposed before the CMOS image sensing array 22. These optical filters4A and 4B cooperate to form the narrow-band optical filter subsystem 4for the purpose described above. As shown in FIG. 5A2, the lighttransmission characteristics (energy versus wavelength) associated withthe low-pass optical filter element 4B indicate that optical wavelengthsbelow 620 nanometers are transmitted therethrough, whereas opticalwavelengths above 620 nm are substantially blocked (e.g. absorbed orreflected). As shown in FIG. 5A3, the light transmission characteristics(energy versus wavelength) associated with the high-pass imaging windowfilter 4A indicate that optical wavelengths above 700 nanometers aretransmitted therethrough, thereby producing a red-color appearance tothe user, whereas optical wavelengths below 700 nm are substantiallyblocked (e.g. absorbed or reflected) by optical filter 4A.

During system operation, spectral band-pass filter subsystem 4 greatlyreduces the influence of the ambient light, which falls upon the CMOSimage sensing array 22 during the image capturing operations. By virtueof the optical filter of the present invention, a optical shuttermechanism is eliminated in the system. In practice, the optical filtercan reject more than 85% of incident ambient light, and in typicalenvironments, the intensity of LED illumination is significantly morethan the ambient light on the CMOS image sensing array 22. Thus, whilean optical shutter is required in nearly most conventional CMOS imagingsystems, the imaging-based bar code reading system of the presentinvention effectively manages the exposure time of narrow-bandillumination onto its CMOS image sensing array 22 by simply controllingthe illumination time of its LED-based illumination arrays 27, 28 and 29using control signals generated by Automatic Light Exposure Measurementand Illumination Control Subsystem 15 and the CMOS image sensing array22 while controlling illumination thereto by way of the band-passoptical filter subsystem 4 described above. The result is a simplesystem design, without moving parts, and having a reduced manufacturingcost.

While the band-pass optical filter subsystem 4 is shown comprising ahigh-pass filter element 4A and low-pass filter element 4B, separatedspatially from each other by other optical components along the opticalpath of the system, subsystem 4 may be realized as an integratedmulti-layer filter structure installed in front of the image formationand detection (IFD) module 13, or before its image sensing array 22,without the use of the high-pass window filter 4A, or with the usethereof so as to obscure viewing within the imaging-based bar codesymbol reader while creating an attractive red-colored protectivewindow. Preferably, the red-color window filter 4A will havesubstantially planar surface characteristics to avoid focusing ordefocusing of light transmitted therethrough during imaging operations.

Specification of the Automatic Light Exposure Measurement andIllumination Control Subsystem of the Present Invention

The primary function of the Automatic Light Exposure Measurement andIllumination Control Subsystem 15 is to control the brightness andcontrast of acquired images by (i) measuring light exposure at the imageplane of the CMOS imaging sensing array 22 and (ii) controlling the timeduration that the Multi-Mode Illumination Subsystem 14 illuminates thetarget object with narrow-band illumination generated from the activatedLED illumination array. Thus, the Automatic Light Exposure Measurementand Illumination Control Subsystem 15 eliminates the need for a complexshuttering mechanism for CMOS-based image sensing array 22. This novelmechanism ensures that the imaging-based bar code symbol reader of thepresent invention generates non-saturated images with enough brightnessand contrast to guarantee fast and reliable image-based bar codedecoding in demanding end-user applications.

During object illumination, narrow-band LED-based light is reflectedfrom the target object (at which the hand-supportable bar code reader isaimed) and is accumulated by the CMOS image sensing array 22. Notably,the object illumination process must be carried out for an optimalduration so that the acquired image frame has good contrast and is notsaturated. Such conditions are required for the consistent and reliablebar code decoding operation and performance The Automatic Light ExposureMeasurement and Illumination Control Subsystem 15 measures the amount oflight reflected from the target object, calculates the maximum time thatthe CMOS image sensing array 22 should be kept exposed to theactively-driven LED-based illumination array associated with theMulti-Mode Illumination Subsystem 14, and then automatically deactivatesthe illumination array when the calculated time to do so expires (i.e.lapses).

As shown in FIG. 6A of the illustrative embodiment, the Automatic LightExposure Measurement and Illumination Control Subsystem 15 comprises: aparabolic light-collecting mirror 55 mounted within the head portion ofthe hand-supportable housing, for collecting narrow-band LED-based lightreflected from a central portion of the FOV of the system, which is thentransmitted through the narrow-band optical filter subsystem 4eliminating wide band spectral interference; a light-sensing device(e.g. photo-diode) 56 mounted at the focal point of the light collectionmirror 55, for detecting the filtered narrow-band optical signal focusedtherein by the light collecting mirror 55; and an electronic circuitry57 for processing electrical signals produced by the photo-diode 56indicative of the intensity of detected light exposure levels within thefocal plane of the CMOS image sensing array 22. During light exposuremeasurement operations, incident narrow-band LED-based illumination isgathered from the center of the FOV of the system by the spherical lightcollecting mirror 55 and narrow-band filtered by the narrow-band opticalfilter subsystem 4 before being focused upon the photodiode 56 forintensity detection. The photo-diode 56 converts the detected lightsignal into an electrical signal having an amplitude which directlycorresponds to the intensity of the collected light signal.

As shown in FIG. 6B, the System Control Subsystem 19 generates anillumination array selection control signal which determines which LEDillumination array (i.e. the narrow-area illumination array 27 or thefar-field and narrow-field wide-area illumination arrays 28 or 29) willbe selectively driven at any instant in time of system operation by LEDArray Driver Circuitry 64 in the Automatic Light Exposure Measurementand Illumination Control Subsystem 15. As shown, electronic circuitry 57processes the electrical signal from photo-detector 56 and generates anauto exposure control signal for the selected LED illumination array. Interm, this auto exposure control signal is provided to the LED arraydriver circuitry 64, along with an illumination array selection controlsignal from the System Control Subsystem 19, for selecting and driving(i.e. energizing) one or more LED illumination array(s) so as togenerate visible illumination at a suitable intensity level and forsuitable time duration so that the CMOS image sensing array 22automatically detects digital high-resolution images of illuminatedobjects, with sufficient contrast and brightness, while achieving globalexposure control objectives of the present invention disclosed herein.As shown in FIG. 6B and 7C, the illumination array selection controlsignal is generated by the System Control Subsystem 19 in response to(i) reading the system mode configuration parameters from the systemmode configuration parameter table 70, shown in FIG. 2A1, for theprogrammed mode of system operation at hand, and (ii) detecting theoutput from the automatic IR-based Object Presence and Range DetectionSubsystem 12.

Notably, in the illustrative embodiment, there are three possibleLED-based illumination arrays 27, 28 and 29 which can be selected foractivation by the System Control Subsystem 19, and the upper and/orlower LED subarrays in illumination arrays 28 and 29 can be selectivelyactivated or deactivated on a subarray-by-subarray basis, for variouspurposes taught herein, including automatic specular reflection noisereduction during wide-area image capture modes of operation.

Each one of these illumination arrays can be driven to different statesdepending on the auto-exposure control signal generated by electronicsignal processing circuit 57, which will be generally a function ofobject distance, object surface reflectivity and the ambient lightconditions sensed at photo-detector 56, and measured by signalprocessing circuit 57. The operation of signal processing circuitry 57will now be detailed below.

As shown in FIG. 6B, the narrow-band filtered optical signal that isproduced by the parabolic light focusing mirror 55 is focused onto thephoto-detector D1 56 which generates an analog electrical signal whoseamplitude corresponds to the intensity of the detected optical signal.This analog electrical signal is supplied to the signal processingcircuit 57 for various stages of processing. The first step ofprocessing involves converting the analog electrical signal from acurrent-based signal to a voltage-based signal which is achieved bypassing it through a constant-current source buffer circuit 58, realizedby one half of transistor Q1 (58). This inverted voltage signal is thenbuffered by the second half of the transistor Q1 (58) and is supplied asa first input to a summing junction 59. As shown in FIG. 7C, the CMOSimage sensing array 22 produces, as output, a digital electronic rollingshutter (ERS) pulse signal 60, wherein the duration of this ERS pulsesignal 60 is fixed to a maximum exposure time allowed in the system. TheERS pulse signal 60 is buffered through transistor Q2 61 and forms theother side of the summing junction 59. The outputs from transistors Q1and Q2 form an input to the summing junction 59. A capacitor C5 isprovided on the output of the summing junction 59 and provides a minimumintegration time sufficient to reduce any voltage overshoot in thesignal processing circuit 57. The output signal across the capacitor C5is further processed by a comparator U1 62. In the illustrativeembodiment, the comparator reference voltage signal is set to 1.7 volts.This reference voltage signal sets the minimum threshold level for thelight exposure measurement circuit 57. The output signal from thecomparator 62 is inverted by inverter U3 63 to provide a positive logicpulse signal which is supplied, as auto exposure control signal, to theinput of the LED array driver circuit 64 shown in FIG. 7C.

As will be explained in greater detail below, the LED array drivercircuit 64 shown in FIG. 7C automatically drives an activated LEDilluminated array, and the operation of LED array driver circuit 64depends on the mode of operation in which the Multi-Mode IlluminationSubsystem 14 is configured. In turn, the mode of operation in which theMulti-Mode Illumination Subsystem 14 is configured at any moment in timewill typically depend on (i) the state of operation of the ObjectPresence and Range Detection Subsystem 12 and (ii) the programmed modeof operation in which the entire Imaging-Based Bar Code Symbol ReadingSystem is configured using system mode configuration parameters readfrom Table 70 shown in FIG. 2A1.

As shown in FIG. 7C, the LED array driver circuit 64 comprises analogand digital circuitry which receives two input signals: (i) the autoexposure control signal from signal processing circuit 57; and (ii) theillumination array selection control signal. The LED array drivercircuit 64 generates, as output, digital pulse-width modulated (PCM)drive signals provided to either the narrow-area illumination array 27,the upper and/or lower LED subarray employed in the near-field wide-areaillumination array 28, and/or the upper and/or lower LED subarraysemployed in the far-field wide-area illumination array 29. Depending onwhich mode of system operation the imaging-based bar code symbol readerhas been configured, the LED array driver circuit 64 will drive one ormore of the above-described LED illumination arrays during objectillumination and imaging operations. As will be described in greaterdetail below, when all rows of pixels in the CMOS image sensing array 22are in a state of integration (and thus have a common integration time),such LED illumination array(s) are automatically driven by the LED arraydriver circuit 64 at an intensity and for duration computed (in ananalog manner) by the Automatic Light Exposure and Illumination ControlSubsystem 15 so as to capture digital images having good contrast andbrightness, independent of the light intensity of the ambientenvironment and the relative motion of target object with respect to theimaging-based bar code symbol reader.

Global Exposure Control Method of the Present Invention Carried outUsing the CMOS Image Sensing Array

In the illustrative embodiment, the CMOS image sensing array 22 isoperated in its Single Frame Shutter Mode (i.e. rather than itsContinuous Frame Shutter Mode) as shown in FIG. 6D, and employs a novelexposure control method which ensure that all rows of pixels in the CMOSimage sensing array 22 have a common integration time, thereby capturinghigh quality images even when the object is in a state of high speedmotion. This novel exposure control technique shall be referred to as“the global exposure control method” of the present invention, and theflow chart of FIGS. 6E1 and 6E2 describes clearly and in great detailhow this method is implemented in the imaging-based bar code symbolreader of the illustrative embodiment. The global exposure controlmethod will now be described in detail below.

As indicated at Block A in FIG. 6E1, Step A in the global exposurecontrol method involves selecting the single frame shutter mode ofoperation for the CMOS imaging sensing array provided within animaging-based bar code symbol reading system employing an automaticlight exposure measurement and illumination control subsystem, amulti-mode illumination subsystem, and a system control subsystemintegrated therewith, and image formation optics providing the CMOSimage sensing array with a field of view into a region of space whereobjects to be imaged are presented.

As indicated in Block B in FIG. 6E1, Step B in the global exposurecontrol method involves using the automatic light exposure measurementand illumination control subsystem to continuously collect illuminationfrom a portion of the field of view, detect the intensity of thecollected illumination, and generate an electrical analog signalcorresponding to the detected intensity, for processing.

As indicated in Block C in FIG. 6E1, Step C in the global exposurecontrol method involves activating (e.g. by way of the system controlsubsystem 19 or directly by way of trigger switch 2C) the CMOS imagesensing array so that its rows of pixels begin to integrate photonicallygenerated electrical charge in response to the formation of an imageonto the CMOS image sensing array by the image formation optics of thesystem.

As indicated in Block D in FIG. 6E1, Step D in the global exposurecontrol method involves the CMOS image sensing array 22 automatically(i) generating an electronic rolling shutter (ERS) digital pulse signalwhen all rows of pixels in the image sensing array are operated in astate of integration, and providing this ERS pulse signal to theAutomatic Light Exposure Measurement And Illumination Control Subsystem15 so as to activate light exposure measurement and illumination controlfunctions/operations therewithin.

As indicated in Block E in FIG. 6E2, Step E in the global exposurecontrol method involves, upon activation of light exposure measurementand illumination control functions within Subsystem 15, (i) processingthe electrical analog signal being continuously generated therewithin,(ii) measuring the light exposure level within a central portion of thefield of view 23 (determined by light collecting optics 55 shown in FIG.6A), and (iii) generating an auto-exposure control signal forcontrolling the generation of visible field of illumination from atleast one LED-based illumination array (27, 28 and/or 29) in theMulti-Mode Illumination Subsystem 14 which is selected by anillumination array selection control signal produced by the SystemControl Subsystem 19.

Finally, as indicated at Block F in FIG. 6E2, Step F in the globalexposure control method involves using (i) the auto exposure controlsignal and (ii) the illumination array selection control signal to drivethe selected LED-based illumination array(s) and illuminate the field ofview of the CMOS image sensing array 22 in whatever image capture modeit may be configured, precisely when all rows of pixels in the CMOSimage sensing array are in a state of integration, as illustrated inFIG. 6D, thereby ensuring that all rows of pixels in the CMOS imagesensing array have a common integration time. By enabling all rows ofpixels in the CMOS image sensing array 22 to have a common integrationtime, high-speed “global exposure control” is effectively achievedwithin the imaging-based bar code symbol reader of the presentinvention, and consequently, high quality images are capturedindependent of the relative motion between the bar code symbol readerand the target object.

Specification of the IR-Based Automatic Object Presence and RangeDetection Subsystem Employed in the Hand-Supportable Digital Image-BasedBar Code Reading Device of the Present Invention

As shown in FIG. 8A, IR-wavelength based Automatic Object Presence andRange Detection Subsystem 12 is realized in the form of a compact opticsmodule 76 mounted on the front portion of optics bench 6, as shown inFIG. 1J.

As shown in FIG. 7, the object presence and range detection module 12 ofthe illustrative embodiment comprises a number of subcomponents, namely:an optical bench 77 having an ultra-small footprint for supportingoptical and electro-optical components used to implement the subsystem12; at least one IR laser diode 78 mounted on the optical bench 77, forproducing a low power IR laser beam 79; IR beam shaping optics 80,supported on the optical bench for shaping the IR laser beam (e.g. intoa pencil-beam like geometry) and directing the same into the centralportion of the object detection field 20 defined by the field of view(FOV) of IR light collection/focusing optics 81 supported on the opticalbench 77; an amplitude modulation (AM) circuit 82 supported on theoptical bench 77, for modulating the amplitude of the IR laser beamproduced from the IR laser diode at a frequency f₀ (e.g. 75 Mhz) with upto 7.5 milliWatts of optical power; optical detector (e.g. anavalanche-type IR photo-detector) 83, mounted at the focal point of theIR light collection/focusing optics 81, for receiving the IR opticalsignal reflected off an object within the object detection field, andconverting the received optical signal 84 into an electrical signal 85;an amplifier and filter circuit 86, mounted on the optical bench 77, forisolating the f₀ signal component and amplifying it; a limitingamplifier 87, mounted on the optical bench, for maintaining a stablesignal level; a phase detector 88, mounted on the optical bench 77, formixing the reference signal component f₀ from the AM circuit 82 and thereceived signal component f₀ reflected from the packages and producing aresulting signal which is equal to a DC voltage proportional to theCosine of the phase difference between the reference and the reflectedf₀ signals; an amplifier circuit 89, mounted on the optical bench 77,for amplifying the phase difference signal; a received signal strengthindicator (RSSI) 90, mounted on the optical bench 77, for producing avoltage proportional to a LOG of the signal reflected from the targetobject which can be used to provide additional information; areflectance level threshold analog multiplexer 91 for rejectinginformation from the weak signals; and a 12 bit A/D converter 92,mounted on the optical bench 77, for converting the DC voltage signalfrom the RSSI circuit 90 into sequence of time-based range data elements{R_(n,i)}, taken along nT discrete instances in time, where each rangedata element R_(n,i) provides a measure of the distance of the objectreferenced from (i) the IR laser diode 78 to (ii) a point on the surfaceof the object within the object detection field 20; and range analysiscircuitry 93 described below.

In general, the function of range analysis circuitry 93 is to analyzethe digital range data from the A/D converter 90 and generate twocontrol activation signals, namely: (i) “an object presence detection”type of control activation signal A_(1A) indicating simply whether anobject is presence or absent from the object detection field, regardlessof the mode of operation in which the Multi-Mode Illumination Subsystem14 might be configured; and (ii) “a near-field/far-field” rangeindication type of control activation signal A_(1B) indicating whether adetected object is located in either the predefined near-field orfar-field portions of the object detection field, which correspond tothe near-field and far-field portions of the FOV of the Multi-Mode ImageFormation and Detection Subsystem 13.

Various kinds of analog and digital circuitry can be designed toimplement the IR-based Automatic Object Presence and Range DetectionSubsystem 12. Alternatively, this subsystem can be realized usingvarious kinds of range detection techniques as taught in U.S. Pat. No.6,637,659, incorporated herein by reference in its entirely.

In the illustrative embodiment, Automatic Object Presence and RangeDetection Subsystem 12 operates as follows. In System Modes of Operationrequiring automatic object presence and/or range detection, AutomaticObject Presence and Range Detection Subsystem 12 will be activated atsystem start-up and operational at all times of system operation,typically continuously providing the System Control Subsystem 19 withinformation about the state of objects within both the far and nearportions of the object detection field 20 of the imaging-based symbolreader. In general, this Subsystem detects two basic states of presenceand range, and therefore has two basic states of operation. In its firststate of operation, the IR-based automatic Object Presence and RangeDetection Subsystem 12 automatically detects an object within thenear-field region of the FOV 20, and in response thereto generates afirst control activation signal which is supplied to the System ControlSubsystem 19 to indicate the occurrence of this first fact. In itssecond state of operation, the IR-based automatic Object Presence andRange Detection Subsystem 12 automatically detects an object within thefar-field region of the FOV 20, and in response thereto generates asecond control activation signal which is supplied to the System ControlSubsystem 19 to indicate the occurrence of this second fact. As will bedescribed in greater detail and throughout this patent specification,these control activation signals are used by the System ControlSubsystem 19 during particular stages of the system control process,such as determining (i) whether to activate either the near-field and/orfar-field LED illumination arrays, and (ii) how strongly should theseLED illumination arrays be driven to ensure quality image exposure atthe CMOS image sensing array 22.

Specification of the Mapping of Pixel Data Captured by the Imaging Arrayinto the SDRAM Under the Control of the Direct Memory Access (DMA)Module Within the Microprocessor

As shown in FIG. 8, the CMOS image sensing array 22 employed in thedigital imaging-based bar code symbol reading device hereof is operablyconnected to its microprocessor 36 through FIFO 39 (realized by way of aFPGA) and system bus shown in FIG. 2M. As shown, SDRAM 38 is alsooperably connected to the microprocessor 36 by way of the system bus,thereby enabling the mapping of pixel data captured by the CMOS imagesensing array 22 into the SDRAM 38 under the control of the directmemory access (DMA) module within the microprocessor 36.

Referring to FIG. 9, details will now be given on how the bytes of pixeldata captured by CMOS image sensing array 22 are automatically mapped(i.e. captured and stored) into the addressable memory storage locationsof its SDRAM 38 during each image capture cycle carried out within thehand-supportable imaging-based bar code reading device of the presentinvention.

In the implementation of the illustrative embodiment, the CMOS imagesensing array 22 sends 7-bit gray-scale data bytes over a parallel dataconnection to FPGA 39 which implements a FIFO using its internal SRAM.The FIFO 39 stores the pixel data temporarily and the microprocessor 36initiates a DMA transfer from the FIFO (which is mapped to addressOXOCOOOOOO, chip select 3) to the SDRAM 38. In general, modernmicroprocessors have internal DMA modules, and a preferredmicroprocessor design, the DMA module will contain a 32-byte buffer.Without consuming any CPU cycles, the DMA module can be programmed toread data from the FIFO 39, store read data bytes in the DMA's buffer,and subsequently write the data to the SDRAM 38. Alternatively, a DMAmodule can reside in FPGA 39 to directly write the FIFO data into theSDRAM 38. This is done by sending a bus request signal to themicroprocessor 36, so that the microprocessor 36 releases control of thebus to the FPGA 39 which then takes over the bus and writes data intothe SDRAM 38.

Below, a brief description will be given on where pixel data output fromthe CMOS image sensing array 22 is stored in the SDRAM 38, and how themicroprocessor (i.e. implementing a decode algorithm) 36 accesses suchstored pixel data bytes. FIG. 9F represents the memory space of theSDRAM 38. A reserved memory space of 1.3 MB is used to store the outputof the CMOS image sensing array 22. This memory space is a 1:1 mappingof the pixel data from the CMOS image sensing array 22. Each byterepresents a pixel in the image sensing array 22. Memory space is amirror image of the pixel data from the image sensing array 22. Thus,when the decode program (36) accesses the memory, it is as if it isaccessing the raw pixel image of the image sensing array 22. No timecode is needed to track the data since the modes of operation of the barcode reader guarantee that the microprocessor 36 is always accessing theup-to-date data, and the pixel data sets are a true representation ofthe last optical exposure. To prevent data corruption, i.e. new datacoming in while old data are still being processed, the reserved spaceis protected by disabling further DMA access once a whole frame of pixeldata is written into memory. The DMA module is re-enabled until eitherthe microprocessor 36 has finished going through its memory, or atimeout has occurred.

During image acquisition operations, the image pixels are sequentiallyread out of the image sensing array 22. Although one may choose to readand column-wise or row-wise for some CMOS image sensors, without loss ofgenerality, the row-by-row read out of the data is preferred. The pixelimage data set is arranged in the SDRAM 38 sequentially, starting ataddress OXAOEC0000. To randomly access any pixel in the SDRAM 38 is astraightforward matter: the pixel at row y ¼ column x located is ataddress (OXAOEC0000+y×1280+x).

As each image frame always has a frame start signal out of the imagesensing array 22, that signal can be used to start the DMA process ataddress OXAOEC0000, and the address is continuously incremented for therest of the frame. But the reading of each image frame is started ataddress OXAOEC0000 to avoid any misalignment of data. Notably, however,if the microprocessor 36 has programmed the CMOS image sensing array 22to have a ROI window, then the starting address will be modified to(OXAOEC0000+1280×R₁), where R₁ is the row number of the top left cornerof the ROI.

Specification of the Three-Tier Software Architecture of theHand-Supportable Digital Image-Based Bar Code Reading Device of thePresent Invention

As shown in FIG. 10, the hand-supportable digital imaging-based bar codesymbol reading device of the present invention 1 is provided with athree-tier software architecture comprising the following softwaremodules: (1) the Main Task module, the CodeGate Task module, theMetroset Task module, the Application Events Manager module, the UserCommands Table module, the Command Handler module, the Plug-InController (Manager) and Plug-In Libraries and Configuration Files, eachresiding within the Application layer of the software architecture; (2)the Tasks Manager module, the Events Dispatcher module, the Input/OutputManager module, the User Commands Manager module, the Timer Subsystemmodule, the Input/Output Subsystem module and the Memory ControlSubsystem module, each residing within the System Core (SCORE) layer ofthe software architecture; and (3) the Linux Kemal module, the LinuxFile System module, and Device Drivers modules, each residing within theLinux Operating System (OS) layer of the software architecture.

While the operating system layer of the imaging-based bar code symbolreader is based upon the Linux operating system, it is understood thatother operating systems can be used (e.g. Microsoft Windows, Max OXS,Unix, etc), and that the design preferably provides for independencebetween the main Application Software Layer and the Operating SystemLayer, and therefore, enables of the Application Software Layer to bepotentially transported to other platforms. Moreover, the system designprinciples of the present invention provides an extensibility of thesystem to other future products with extensive usage of the commonsoftware components, which should make the design of such productseasier, decrease their development time, and ensure their robustness.

In the illustrative embodiment, the above features are achieved throughthe implementation of an event-driven multi-tasking, potentiallymulti-user, Application layer running on top of the System Core softwarelayer, called SCORE. The SCORE layer is statically linked with theproduct Application software, and therefore, runs in the ApplicationLevel or layer of the system. The SCORE layer provides a set of servicesto the Application in such a way that the Application would not need toknow the details of the underlying operating system, although alloperating system APIs are, of course, available to the application aswell. The SCORE software layer provides a real-time, event-driven,OS-independent framework for the product Application to operate. Theevent-driven architecture is achieved by creating a means for detectingevents (usually, but not necessarily, when the hardware interruptsoccur) and posting the events to the Application for processing inreal-time manner. The event detection and posting is provided by theSCORE software layer. The SCORE layer also provides the productApplication with a means for starting and canceling the software tasks,which can be running concurrently, hence, the multi-tasking nature ofthe software system of the present invention.

Specification of Software Modules Within the SCORE Layer of the SystemSoftware Architecture Employed in Imaging-Based Bar Code Reader of thePresent Invention

The SCORE layer provides a number of services to the Application layer.The Tasks Manager provides a means for executing and canceling specificapplication tasks (threads) at any time during the product Applicationrun.

The Events Dispatcher provides a means for signaling and delivering allkinds of internal and external synchronous and asynchronous events

When events occur, synchronously or asynchronously to the Application,the Events Dispatcher dispatches them to the Application Events Manager,which acts on the events accordingly as required by the Applicationbased on its current state. For example, based on the particular eventand current state of the application, the Application Events Manager candecide to start a new task, or stop currently running task, or dosomething else, or do nothing and completely ignore the event.

The Input/Output Manager provides a means for monitoring activities ofinput/output devices and signaling appropriate events to the Applicationwhen such activities are detected.

The Input/Output Manager software module runs in the background andmonitors activities of external devices and user connections, andsignals appropriate events to the Application Layer, which suchactivities are detected. The Input/Output Manager is a high-prioritythread that runs in parallel with the Application and reacts to theinput/output signals coming asynchronously from the hardware devices,such as serial port, user trigger switch 2C, bar code reader, networkconnections, etc. Based on these signals and optional input/outputrequests (or lack thereof) from the Application, it generatesappropriate system events, which are delivered through the EventsDispatcher to the Application Events Manager as quickly as possible asdescribed above.

The User Commands Manager provides a means for managing user commands,and utilizes the User Commands Table provided by the Application, andexecutes appropriate User Command Handler based on the data entered bythe user.

The Input/Output Subsystem software module provides a means for creatingand deleting input/output connections and communicating with externalsystems and devices

The Timer Subsystem provides a means of creating, deleting, andutilizing all kinds of logical timers.

The Memory Control Subsystem provides an interface for managing themulti-level dynamic memory with the device, fully compatible withstandard dynamic memory management functions, as well as a means forbuffering collected data. The Memory Control Subsystem provides a meansfor thread-level management of dynamic memory. The interfaces of theMemory Control Subsystem are fully compatible with standard C memorymanagement functions. The system software architecture is designed toprovide connectivity of the device to potentially multiple users, whichmay have different levels of authority to operate with the device.

The User Commands Manager, which provides a standard way of enteringuser commands, and executing application modules responsible forhandling the same. Each user command described in the User CommandsTable is a task that can be launched by the User Commands Manager peruser input, but only if the particular user's authority matches thecommand's level of security.

The Events Dispatcher software module provides a means of signaling anddelivering events to the Application Events Manager, including thestarting of a new task, stopping a currently running task, or doingsomething or nothing and simply ignoring the event.

FIG. 12B provides a Table listing examples of System-Defined Eventswhich can occur and be dispatched within the hand-supportable digitalimaging-based bar code symbol reading device of the present invention,namely: SCORE_EVENT_POWER_UP which signals the completion of systemstart-up and involves no parameters;_SCORE_EVENT_TIMEOUT which signalsthe timeout of the logical timer, and involves the parameter “pointer totimer id”; SCORE_EVENT_UNEXPECTED_INPUT which signals that theunexpected input data is available and involves the parameter “pointerto connection id”; SCORE_EVENT_TRIG_ON which signals that the userpulled the trigger and involves no parameters; SCORE_EVENT_TRIG_OFFwhich signals that the user released the trigger and involves noparameters; SCORE_EVENT_OBJECT_DETECT_ON which signals that the objectis positioned under the bar code reader and involves no parameters;SCORE_EVENT_OBJECT_DETECT_OFF which signals that the object is removedfrom the field of view of the bar code reader and involves noparameters; SCORE_EVENT_EXIT_TASK which signals the end of the taskexecution and involves the pointer UTID; and SCORE_EVENT_ABORT_TASKwhich signals the aborting of a task during execution.

The imaging-based bar code symbol reading device of the presentinvention provides the user with a command-line interface (CLI), whichcan work over the standard communication lines, such as RS232, availablein the bar code reader. The CLI is used mostly for diagnostic purposes,but can also be used for configuration purposes in addition to theMetroSet® and MetroSelect® programming functionalities. To send commandsto the bar code reader utilizing the CLI, a user must first enter theUser Command Manager by typing in a special character, which couldactually be a combination of multiple and simultaneous keystrokes, suchCtrl and S for example. Any standard and widely available softwarecommunication tool, such as Windows HyperTerminal, can be used tocommunicate with the bar code reader. The bar code reader acknowledgesthe readiness to accept commands by sending the prompt, such as “MTLG>”back to the user. The user can now type in any valid Application commandTo quit the User Command Manager and return the scanner back to itsnormal operation, a user must enter another special character, whichcould actually be a combination of multiple and simultaneous keystrokes,such Ctrl and R for example.

An example of the valid command could be the “Save Image” command, whichis used to upload an image from the bar code reader's memory to the hostPC. This command has the following CLI format:

save[filename[compr]]

where

(1) save is the command name.

(2) filename is the name of the file the image gets saved in. Ifomitted, the default filename is “image.bmp”.

(3) compr is the compression number, from 0 to 10. If omitted, thedefault compression number is 0, meaning no compression. The highercompression number, the higher image compression ratio, the faster imagetransmission, but more distorted the image gets.

The imaging-based bar code symbol reader of the present invention canhave numerous commands. All commands are described in a single table(User Commands Table shown in FIG. 10) contained in the productApplications software layer. For each valid command, the appropriaterecord in the table contains the command name, a short description ofthe command, the command type, and the address of the function thatimplements the command.

When a user enters a command, the User Command Manager looks for thecommand in the table. If found, it executes the function the address ofwhich is provided in the record for the entered command. Upon returnfrom the function, the User Command Manager sends the prompt to the userindicating that the command has been completed and the User CommandManager is ready to accept a new command.

Specification of Software Modules Within the Application Layer of theSystem Software Architecture Employed in Imaging-Based Bar Code Readerof the Present Invention

The image processing software employed within the system hereof performsits bar code reading function by locating and recognizing the bar codeswithin the frame of a captured image comprising pixel data. The modulardesign of the image processing software provides a rich set of imageprocessing functions, which could be utilized in the future for otherpotential applications, related or not related to bar code symbolreading, such as: optical character recognition (OCR) and verification(OCV); reading and verifying directly marked symbols on varioussurfaces; facial recognition and other biometrics identification; etc.

The CodeGate Task, in an infinite loop, performs the following task. Itilluminates a “thin” narrow horizontal area at the center of thefield-of-view (FOV) and acquires a digital image of that area. It thenattempts to read bar code symbols represented in the captured frame ofimage data using the image processing software facilities supported bythe Image-Processing Bar Code Symbol Reading Subsystem 17 of the presentinvention to be described in greater detail hereinafter. If a bar codesymbol is successfully read, then Subsystem 17 saves the decoded data inthe special Decode Data Buffer. Otherwise, it clears the Decode DataBuffer. Then, it continues the loop. The CodeGate Task routine neverexits on its own. It can be canceled by other modules in the system whenreacting to other events. For example, when a user pulls the triggerswitch 2C, the event TRIGGER_ON is posted to the application. TheApplication software responsible for processing this event, checks ifthe CodeGate Task is running, and if so, it cancels it and then startsthe Main Task. The CodeGate Task can also be canceled uponOBJECT_DETECT_OFF event, posted when the user moves the bar code readeraway from the object, or when the user moves the object away from thebar code reader. The CodeGate Task routine is enabled (with Main Task)when “semi-automatic-triggered” system modes of programmed operation(Modes of System Operation Nos. 11-14) are to be implemented on theillumination and imaging platform of the present invention.

The Narrow-Area Illumination Task is a simple routine which is enabled(with Main Task) when “manually-triggered” system modes of programmedoperation (Modes of System Operation Nos. 1-5) are to be implemented onthe illumination and imaging platform of the present invention. However,this routine is never enabled simultaneously with CodeGate Task. Asshown in the event flow chart of FIG. 13D, either CodeGate Task orNarrow-Area Illumination Task are enabled with the Main Task routine torealize the diverse kinds of system operation described herein.

Depending the System Mode in which the imaging-based bar code symbolreader is configured, Main Task will typically perform differently, butwithin the limits described in FIG. 13J. For example, when theimaging-based bar code symbol reader is configured in the ProgrammableMode of System Operation No. 12 (i.e. Semi-Automatic-TriggeredMultiple-Attempt 1D/2D Single-Read Mode) to be described in greaterdetail hereinafter, the Main Task first checks if the Decode Data Buffercontains data decoded by the CodeGate Task. If so, then it immediatelysends the data out to the user by executing the Data Output procedureand exits. Otherwise, in a loop, the Main Task does the following: itilluminates an entire area of the field-of-view and acquires afull-frame image of that area. It attempts to read a bar code symbol thecaptured image. If it successfully reads a bar code symbol, then itimmediately sends the data out to the user by executing the Data Outputprocedure and exits. Otherwise, it continues the loop. Notably, uponsuccessful read and prior to executing the Data Output procedure, theMain Task analyzes the decoded data for a “reader programming” commandor a sequence of commands If necessary, it executes the Metro Selectfunctionality. The Main Task can be canceled by other modules within thesystem when reacting to other events. For example, the bar code readerof the present invention can be re-configured using standard Metrologicconfiguration methods, such as MetroSelec® and MetroSet®. TheMetroSelect functionality is executed during the Main Task.

The MetroSet functionality is executed by the special MetroSet Task.When the Focus RS232 software driver detects a special NULL-signal onits communication lines, it posts the METROSET_ON event to theApplication. The Application software responsible for processing thisevent starts the MetroSet task. Once the MetroSet Task is completed, thescanner returns to its normal operation.

The function of the Plug-In Controller (i.e. Manager) is to readconfiguration files and find plug-in libraries within the Plug-In andConfiguration File Library, and install plug-in into the memory of theoperating system, which returns back an address to the Plug-In Managerindicating where the plug-in has been installed, for future access. Aswill be described in greater detail hereinafter, the Plug-In DevelopmentPlatform support development of plug-ins that enhance, extend and/ormodify the features and functionalities of the image-processing basedbar code symbol reading system, and once developed, to upload developedplug-ins within the file system of the operating system layer, whilestoring the addresses of such plug-ins within the Plug-In andConfiguration File Library in the Application Layer.

Modes of System Operation Nos. 6-10 can be readily implemented on theillumination and imaging platform of the present invention by making thefollowing software system modifications: (1) an Auto-Read Task routinewould be added to the system routine library (wherein Auto-Read Taskcould be an infinite loop routine where the primary operations ofCodeGate Task and Main Task are sequenced together to attempt firstautomatic narrow-area illumination and image capture and processing,followed by automatic wide-area illumination and image capture andprocessing, and repeating the wide-area operation in an infinite loop,until the object is no longer detected within a particular predeterminedtime period; and (2) modifying the query block “Is CodeGate Task orNarrow-Area Illumination Task Enabled?” in the Object_Detect_On eventhandling routine shown in FIG. 13D, to further ask whether the“Auto-Read Task Routine is enabled”, and on the “Yes” control path,providing a block which starts “Auto-Read Task” and then advancingcontrol to Return.

Operating System Layer Software Modules Within the Application Layer ofthe System Software Architecture Employed in Imaging-Based Bar CodeReader of the Present Invention

The Devices Drivers software modules, which includes trigger drivers,provide a means for establishing a software connection with thehardware-based manually-actuated trigger switch 2C employed on theimaging-based device, an image acquisition driver for implementing imageacquisition functionality aboard the imaging-based device, and an IRdriver for implementing object detection functionality aboard theimaging-based device.

As shown in FIG. 12I, the Device Drive software modules include: triggerdrivers for establishing a software connection with the hardware-basedmanually-actuated trigger switch 2C employed on the imaging-based barcode symbol reader of the present invention; an image acquisition driverfor implementing image acquisition functionality aboard theimaging-based bar code symbol reader; and an IR driver for implementingobject detection functionality aboard the imaging-based bar code symbolreader.

Basic System Operations Supported by the Three-Tier SoftwareArchitecture of the Hand-Supportable Digital Imaging-Based Bar CodeReading Device of the Present Invention

The basic system operations supported by the three-tier softwarearchitecture of the hand-supportable digital imaging-based bar codereading device of the present invention are shown in FIGS. 13A-13F andcorresponding sections of Applicants' WIPO Publication No. WO2005/005039, supra.

Notably, these basic operations represent functional modules (orbuilding blocks) with the system architecture of the present invention,which can be combined in various combinations to implement the numerousProgrammable Modes of System Operation using the image acquisition andprocessing platform disclosed herein. For purposes of illustration, andthe avoidance of obfuscation of the present invention, these basicsystem operations will be described below with reference to ProgrammableMode of System Operation No. 12: Semi-Automatic-TriggeredMultiple-Attempt 1D/2D Single-Read Mode Employing The No-Finder Mode AndThe Manual Or Automatic Modes Of the Multi-Mode Bar Code ReadingSubsystem 17.

FIG. 13A shows the basic operations carried out within the System CoreLayer of the system when the user points the bar code reader towards abar code symbol on an object. Such operations include the by IR devicedrivers enabling automatic detection of the object within the field, andwaking up of the Input/Output Manager software module. As shown in FIG.13B, the Input/Output Manager then posts the SCORE_OBJECT_DETECT_ONevent to the Events Dispatcher software module in response to detectingan object. Then as shown in FIG. 13C, the Events Dispatcher softwaremodule passes the SCORE_OBJECT_DETECT_ON event to the Application Layer.

Upon receiving the SCORE_OBJECT_DETECT_ON event at the ApplicationLayer, the Application Events Manager executes an event handling routine(shown in FIG. 13D) which activates the narrow-area (linear)illumination array 27 (i.e. during narrow-area illumination and imagecapture modes), and then depending on whether the presentation mode hasbeen selected and whether CodeGate Task or Narrow-Area Illumination Modehas been enabled during system configuration, this even handling routineexecutes either Main Task, CodeGate Task, or Narrow-Area IlluminationTask. As shown in the flow chart of FIG. 13D, the system event handlingroutine first involves determining whether the Presentation Mode hasbeen selected (i.e. enabled), then the event handling routine determineswhether the CodeGate Task or Narrow-Area Illumination Routines have beenenabled (with Main Task). If CodeGate Task has been enabled, thenApplication Layer starts CodeGate Task. If the Narrow-Area IlluminationTask has been enabled, then the Application Layer starts the Narrow-AreaIllumination Task, as shown.

As shown in FIG. 13E, the Application Layer executes the CodeGate Taskby first activating the narrow-area image capture mode in the Multi-ModeImage Formation and Detection Subsystem 13 (i.e. by enabling a fewmiddle rows of pixels in the CMOS sensor array 22), and thenacquiring/capturing a narrow image at the center of the FOV of the BarCode Reader. CodeGate Task then performs image processing operations onthe captured narrow-area image using No-Finder Module which has beenenabled by the selected Programmable Mode of System Operation No. 12. Ifthe image processing method results in a successful read of a bar codesymbol, then the CodeGate Task saves the decoded symbol character datain the CodeGate Data Buffer; and if not, then the task clears theCodeGsate Data Buffer, and then returns to the main block of the Taskwhere image acquisition reoccurs.

As shown in FIG. 13F, when the user pulls the trigger switch 2C on thebar code reader while the Code Task is executing, the trigger switchdriver in the OS Layer automatically wakes up the Input/Output Managerat the System Core Layer. The Input/Output Manager, in response to beingwoken up by the trigger device driver, posts the SCORE_TRIGGER_ON eventto the Events Dispatcher also in the System Core Layer. The EventsDispatcher then passes on the SCORE_TRIGGER_ON event to the ApplicationEvents Manager at the Application Layer. The Application Events Managerresponds to the SCORE_TRIGGER_ON event by invoking a handling routine(Trigger On Event) within the Task Manager at the System Core Layer.

The routine determines whether the Presentation Mode (i.e. ProgrammedMode of System Operation No. 10) has been enabled, and if so, then theroutine exits. If the routine determines that the Presentation Mode(i.e. Programmed Mode of System Operation No. 10) has not been enabled,then it determines whether the CodeGate Task is running, and if it isrunning, then it first cancels the CodeGate Task and then deactivatesthe narrow-area illumination array 27 associated with the Multi-ModeIllumination Subsystem 14, and thereafter executes the Main Task. Ifhowever the routine determines that the CodeGate Task is not running,then it determines whether Narrow-Area Illumination Task is running, andif it is not running, then Main Task is started. However, if Narrow-AreaIllumination Task is running, then the routine increases thenarrow-illumination beam to full power and acquires a narrow-area imageat the center of the field of view of the system, then attempts to readthe bar code in the captured narrow-area image. If the read attempt issuccessful, then the decoded (symbol character) data is saved in theDecode Data Buffer, the Narrow-Area Illumination Task is canceled, thenarrow-area illumination beam is stopped, and the routine starts theMain Task, as shown. If the read attempt is unsuccessful, then theroutine clears the Decode Data Buffer, the Narrow-Area Illumination Taskis canceled, the narrow-area illumination beam is stopped, and theroutine starts the Main Task, as shown.

The Narrow-Area Task routine is an infinite loop routine that simplykeeps a narrow-area illumination beam produced and directed at thecenter of the field of view of the system in a recursive manner (e.g.typically at half or less power in comparison with the full-powernarrow-area illumination beam produced during the running of CodeGateTask).

The first step performed in the Main Task by the Application Layer is todetermine whether CodeGate Data is currently available (i.e. stored inthe Decode Data Buffer), and if such data is available, then the MainTask directly executes the Data Output Procedure. However, if the MainTask determines that no such data is currently available, then it startsthe Read TimeOut Timer, and then acquires a wide-area image of thedetected object, within the time frame permitted by the Read TimeoutTimer. Notably, this wide-area image acquisition process involvescarrying out the following operations, namely: (i) first activating thewide-area illumination mode in the Multi-Mode Illumination Subsystem 14and the wide-area capture mode in the CMOS image formation and detectionmodule; (ii) determining whether the object resides in the near-field orfar-field portion of the FOV (through object range measurement by theIR-based Object Presence and Range Detection Subsystem 12); and (iii)then activating either the near or far field wide-area illuminationarray to illuminate either the object in either the near or far fieldportions of the FOV using either the near-field illumination array 28 orthe far-field illumination array 29 (or possibly both 28 and 29 inspecial programmed cases) at an intensity and duration determined by theautomatic light exposure measurement and control subsystem 15; while(iv) sensing the spatial intensity of light imaged onto the CMOS imagesensing array 22 in accordance with the Global Exposure Control Methodof the present invention, described in detail hereinabove. Then the MainTask performs image processing operations on the captured image usingeither the Manual, ROI-Specific or Automatic Modes of operation(although it is understood that other image-processing based readingmethods taught herein, such as Automatic or OmniScan (as well we othersuitable alternative decoding algorithms/processes not disclosedherein), can be used depending on which Programmed Mode of SystemOperation has been selected by the end user for the imaging-based barcode symbol reader of the present invention. Notably, the time durationof each image acquisition/processing frame is set by the Start ReadTimeout Timer and Stop Read Timeout Timer blocks shown therein, and thatwithin the Programmed Mode of System Operation No. 12, the Main Taskwill support repeated (i.e. multiple) attempts to read a single bar codesymbol so long as the trigger switch 2C is manually depressed by theoperator and a single bar code has not yet been read. Then uponsuccessfully reading a (single) bar code symbol, the Main Task will thenexecute the Data Output Procedure. Notably, in other Programmed Modes ofSystem Operation, in which a single attempt at reading a bar code symbolis enabled, the Main Task will be modified accordingly to support suchsystem behavior. In such a case, an alternatively named Main Task (e.g.Main Task No. 2) would be executed to enable the required systembehavior during run-time.

It should also be pointed out at this juncture, that it is possible toenable and utilize several of different kinds of symbol reading methodsduring the Main Task, and to apply particular reading methods based onthe computational results obtained while processing the narrow-areaimage during the CodeGate Task, and/or while preprocessing of thecaptured wide-area image during one of the image acquiring/processingframes or cycles running in the Main Task. The main point to be madehere is that the selection and application of image-processing based barcode reading methods will preferably occur through the selectiveactivation of the different modes available within the multi-modeimage-processing based bar code symbol reading Subsystem 17, in responseto information learned about the graphical intelligence representedwithin the structure of the captured image, and that such dynamic shouldoccur in accordance with principles of dynamic adaptive learningcommonly used in advanced image processing systems, speech understandingsystems, and alike. This general approach is in marked contrast with theapproaches used in prior art imaging-based bar code symbol readers,wherein permitted methods of bar code reading are pre-selected based onstatically defined modes selected by the end user, and not in responseto detected conditions discovered in captured images on a real-timebasis.

The first step carried out by the Data Output Procedure, called in theMain Task, involves determining whether the symbol character datagenerated by the Main Task is for programming the bar code reader ornot. If the data is not for programming the bar code symbol reader, thenthe Data Output Procedure sends the data out according to the bar codereader system configuration, and then generates the appropriate visualand audio indication to the operator, and then exits the procedure. Ifthe data is for programming the bar code symbol reader, then the DataOutput Procedure sets the appropriate elements of the bar code readerconfiguration (file) structure, and then saves the Bar Code ReaderConfiguration Parameters in non-volatile RAM (i.e. NOVRAM). The DataOutput Procedure then reconfigures the bar code symbol reader and thengenerates the appropriate visual and audio indication to the operator,and then exits the procedure. Decoded data is sent from the Input/OutputModule at the System Core Layer to the Device Drivers within the LinuxOS Layer of the system.

Specification of Symbologies and Modes Supported by the Multi-Mode BarCode Symbol Reading Subsystem Module Employed Within theHand-Supportable Digital Image-Based Bar Code Reading Device of thePresent Invention

Various bar code symbologies are supported by the Multi-Mode Bar CodeSymbol Reading Subsystem 17 employed within the hand-supportable digitalimaging-based bar code symbol reading device of the present invention.These bar code symbologies include: Code 128; Code 39; 12of5; Code93;Codabar; UPC/EAN; Telepen; UK-Plessey; Trioptic; Matrix 2of5; Ariline2of5; Straight 2of5; MSI-Plessey; Code11; and PDF417.

Specification of the Various Modes of Operation in the Multi-Mode BarCode Symbol Reading Subsystem of the Present Invention

The Multi-Mode Image-Processing Based Bar Code Symbol Reading Subsystem17 of the illustrative embodiment supports five primary modes ofoperation, namely: the Automatic Mode of Operation; the Manual Mode ofOperation; the ROI-Specific Mode of Operation; the No-Finder Mode ofOperation; and Omniscan Mode of Operation. Various combinations of thesemodes of operation can be used during the lifecycle of theimage-processing based bar code reading process of the presentinvention.

The Automatic Mode of Multi-Mode Bar Code Symbol Reading Subsystem

In its Automatic Mode of Operation, the Multi-Mode Bar Code SymbolReading Subsystem 17 is configured to automatically start processing acaptured frame of digital image data, prior to the complete bufferingthereof, so as to search for one or more bar codes represented thereinin an incremental manner, and to continue searching until the entireimage is processed.

This mode of image-based processing enables bar code locating andreading when no prior knowledge about the location of, or theorientation of, or the number of bar codes that may be present within animage, is available. In this mode of operation, the Multi-Mode Bar CodeSymbol Reading Subsystem 17 starts processing the image from thetop-left corner and continues until it reaches the bottom-right corner,reading any potential bar codes as it encounters them.

The Manual Mode of the Multi-Mode Bar Code Symbol Reading Subsystem

In its Manual Mode of Operation, the Multi-Mode Bar Code Symbol ReadingSubsystem 17 is configured to automatically process a captured frame ofdigital image data, starting from the center or sweep spot of the imageat which the user would have aimed the bar code reader, so as to searchfor (i.e. find) a at least one bar code symbol represented therein.Unlike the Automatic Mode, this is done by searching in a helical mannerthrough frames or blocks of extracted image feature data, and thenmarking the same and image-processing the corresponding raw digitalimage data until a bar code symbol is recognized/read within thecaptured frame of image data.

This mode of image processing enables bar code locating and reading whenthe maximum number of bar codes that could be present within the imageis known a priori and when portions of the primary bar code have a highprobability of spatial location close to the center of the image. TheMulti-Mode Bar Code Symbol Reading Subsystem 17 starts processing theimage from the center, along rectangular strips progressively furtherfrom the center and continues until either the entire image has beenprocessed or the programmed maximum number of bar codes has been read.

The ROI-Specific Mode of the Multi-Mode Bar Code Symbol ReadingSubsystem

In its ROI-Specific Mode of Operation, the Multi-Mode Bar Code SymbolReading Subsystem 17 is configured to automatically process a capturedframe of digital image data, starting from the region of interest (ROI)in the captured image, specified by coordinates acquired during aprevious mode of operation within the Multi-Mode Bar Code Symbol ReadingSubsystem 17. Unlike the Manual Mode, this is done by analyzing thereceived ROI-specified coordinates, derived during either a previousNoFinder Mode, Automatic Mode, or Omniscan Mode of operation, and thenimmediately begins processing image feature data, and image-processingthe corresponding raw digital image data until a bar code symbol isrecognized/read within the captured frame of image data. Thus,typically, the ROI-Specific Mode is used in conjunction with other modesof the Multi-Mode Bar Code Symbol Reading Subsystem 17.

This mode of image processing enables bar code locating and reading whenthe maximum number of bar codes that could be present within the imageis known a priori and when portions of the primary bar code have a highprobability of spatial location close to specified ROI in the image. TheMulti-Mode Bar Code Symbol Reading Subsystem starts processing the imagefrom these initially specified image coordinates, and then progressivelyfurther in a helical manner from the ROI-specified region, and continuesuntil either the entire image has been processed or the programmedmaximum number of bar codes have been read.

The No-Finder Mode of the Multi-Mode Bar Code Symbol Reading Subsystem

In its No-Finder Mode of Operation, the Multi-Mode Bar Code SymbolReading Subsystem 17 is configured to automatically process a capturednarrow-area (linear) frame of digital image data, without the featureextraction and marking operations used in the Automatic, Manual andROI-Specific Modes, so as to read a one or more bar code symbolsrepresented therein.

This mode enables bar code reading when it is known, a priori, that theimage contains at most one (1-dimensional) bar code symbol, portions ofwhich have a high likelihood of spatial location close to the center ofthe image and when the bar code is known to be oriented at zero degreesrelative to the horizontal axis. Notably, this is typically the casewhen the bar code reader is used in a hand-held mode of operation, wherethe bar code symbol reader is manually pointed at the bar code symbol tobe read. In this mode, the Multi-Mode Bar Code Symbol Reading Subsystem17 starts at the center of the image, skips all bar code location steps,and filters the image at zero (0) degrees and 180 degrees relative tothe horizontal axis. Using the “bar-and-space-count” data generated bythe filtration step, it reads the potential bar code symbol.

The Omni-Scan Mode of the Multi-Mode Bar Code Reading Subsystem

In its Omniscan Mode of Operation, the Multi-Mode Bar Code SymbolReading Subsystem 17 is configured to automatically process a capturedframe of digital image data along any one or more predetermined virtualscan line orientations, without feature extraction and markingoperations used in the Automatic, Manual and ROI-Specific Modes, so asto read a single bar code symbol represented in the processed image.

This mode enables bar code reading when it is known, a priori, that theimage contains at most one (1-dimensional) bar code, portions of whichhave a high likelihood of spatial location close to the center of theimage but which could be oriented in any direction. Multi-Mode Bar CodeSymbol Reading Subsystem 17 starts at the center of the image, skips allbar code location steps, and filters the image at different start-pixelpositions and at different scan-angles. Using the bar-and-space-countdata generated by the filtration step, the Omniscan Mode reads thepotential bar code symbol.

Programmable Modes of Bar Code Reading Operation Within theHand-Supportable Digital Image-Based Bar Code Reading Device of thePresent Invention

In the illustrative embodiment, the imaging-based bar code symbol readerof the present invention has at least seventeen (17) Programmable SystemModes of Operation, namely: Programmed Mode of System Operation No.1—Manually-Triggered Single-Attempt 1D Single-Read Mode Employing theNo-Finder Mode of the Multi-Mode Bar Code Reading Subsystem; ProgrammedMode Of System Operation No. 2—Manually-Triggered Multiple-Attempt 1DSingle-Read Mode Employing the No-Finder Mode of the Multi-Mode Bar CodeReading Subsystem; Programmed Mode Of System Operation No.3—Manually-Triggered Single-Attempt 1D/2D Single-Read Mode Employing theNo-Finder Mode And The Automatic Or Manual Modes of the Multi-Mode BarCode Reading Subsystem; Programmed Mode of System Operation No.4—Manually-Triggered Multiple-Attempt 1D/2D Single-Read Mode Employingthe No-Finder Mode And The Automatic Or Manual Modes of the Multi-ModeBar Code Reading Subsystem; Programmed Mode of System Operation No.5—Manually-Triggered Multiple-Attempt 1D/2D Multiple-Read Mode Employingthe No-Finder Mode And The Automatic Or Manual Modes of the Multi-ModeBar Code Reading Subsystem; Programmed Mode of System Operation No.6—Automatically-Triggered Single-Attempt 1D Single-Read Mode EmployingThe No-Finder Mode Of the Multi-Mode Bar Code Reading Subsystem;Programmed Mode of System Operation No. 7—Automatically-TriggeredMulti-Attempt 1D Single-Read Mode Employing The No-Finder Mode Of theMulti-Mode Bar Code Reading Subsystem; Programmed Mode of SystemOperation No. 7—Automatically-Triggered Multi-Attempt 1D/2D Single-ReadMode Employing The No-Finder Mode and Manual and/or Automatic Modes Ofthe Multi-Mode Bar Code Reading Subsystem; Programmed Mode of SystemOperation No. 9—Automatically-Triggered Multi-Attempt 1D/2DMultiple-Read Mode Employing The No-Finder Mode and Manual and/orAutomatic Modes Of the Multi-Mode Bar Code Reading Subsystem;Programmable Mode of System Operation No. 10—Automatically-TriggeredMultiple-Attempt 1D/2D Single-Read Mode Employing The Manual, Automaticor Omniscan Modes Of the Multi-Mode Bar Code Reading Subsystem;Programmed Mode of System Operation No. 11—Semi-Automatic-TriggeredSingle-Attempt 1D/2D Single-Read Mode Employing The No-Finder Mode AndThe Automatic Or Manual Modes Of the Multi-Mode Bar Code ReadingSubsystem; Programmable Mode of System Operation No.12—Semi-Automatic-Triggered Multiple-Attempt 1D/2D Single-Read ModeEmploying The No-Finder Mode And The Automatic Or Manual Modes Of theMulti-Mode Bar Code Reading Subsystem; Programmable Mode of OperationNo. 13—Semi-Automatic-Triggered Multiple-Attempt 1D/2D Multiple-ReadMode Employing The No-Finder Mode And The Automatic Or Manual Modes Ofthe Multi-Mode Bar Code Reading Subsystem; Programmable Mode ofOperation No. 14—Semi-Automatic-Triggered Multiple-Attempt 1D/2DMultiple-Read Mode Employing The No-Finder Mode And The Omniscan ModesOf the Multi-Mode Bar Code Reading Subsystem; Programmable Mode ofOperation No. 15—Continuously-Automatically-Triggered Multiple-Attempt1D/2D Multiple-Read Mode Employing The Automatic, Manual Or OmniscanModes Of the Multi-Mode Bar Code Reading Subsystem; Programmable Mode ofSystem Operation No. 16—Diagnostic Mode Of Imaging-Based Bar Code ReaderOperation; and Programmable Mode of System Operation No. 17—Live VideoMode Of Imaging-Based Bar Code Reader Operation.

Preferably, these Modes Of System Operation can programmed by reading asequence of bar code symbols from a programming menu as taught, forexample, in U.S. Pat. No. 6,565,005, which describes a bar code scannerprogramming technology developed by Metrologic Instruments, Inc., andmarketed under the name MetroSelect® Single Line ConfigurationProgramming Method.

These Programmable System Modes of Operation will be described in detailhereinbelow. Alternatively, the MetroSet® Graphical User Interface (GUI)can be used to view and change configuration parameters in the bar codesymbol reader using a PC. Alternatively, a Command Line Interface (CLI)may also be used to view and change configuration parameters in the barcode symbol reader,

Each of these programmable modes of bar code reader operation aredescribed in greater detail in WIPO International Publication No. WO05/05039, supra.

Overview of the Imaging-Based Bar Code Reader Start-Up Operations

When the bar code reader hereof boots up, its FPGA is programmedautomatically with 12.5/50/25 MHz clock firmware and all required devicedrivers are also installed automatically. The login to the OperatingSystem is also done automatically for the user “root”, and the user isautomatically directed to the /root/ directory. For nearly allprogrammable modes of system operation employing automatic objectdetection, the IR object detection software driver is installedautomatically. Also, for all Programmable System Modes of operationemploying the narrow-area illumination mode, the narrow-areaillumination software drivers are automatically installed, so that aPulse Width Modulator (PWM) is used to drive the narrow-area LED-basedillumination array 27. To start the bar code reader operation, theoperating system calls the/tmp/ directory first (“cd /tmp”), and thenthe focusapp program, located in /root/ directory is run, because the/root/ directory is located in Flash ROM, and to save captured images,the directory /tmp/ should be the current directory where the image isstored in transition to the host), which is located in RAM.

Second Illustrative Embodiment of Digital Imaging-Based Bar Code SymbolReading Device of the Present Invention, Wherein Four Distinct Modes ofIllumination Are Provided

In the first illustrative embodiment described above, the Multi-modeIllumination Subsystem 14 had three primary modes of illumination: (1)narrow-area illumination mode; (2) near-field wide-area illuminationmode; and (3) far-field wide-area illumination mode.

In a second alternative embodiment of the digital imaging-based bar codesymbol reading device of the present invention, the Multi-ModeIllumination Subsystem 14 is modified to support four primary modes ofillumination: (1) near-field narrow-area illumination mode; (2)far-field narrow-area illumination mode; (3) near-field wide-areaillumination mode; and (4) far-field wide-area illumination mode. Ingeneral, these near-field and far-field narrow-area illumination modesof operation are conducted during the narrow-area image capture mode ofthe Multi-Mode Image Formation and Detection Subsystem 13, and aresupported by a near-field narrow-illumination array and a far fieldnarrow-area illumination array. In the second illustrative embodiment,each of these illumination arrays are realized using at least a pair ofLEDs, each having a cylindrical lens of appropriate focal length tofocus the resulting narrow-area (i.e. linear) illumination beam into thenear-field portion and far-field portion of the field of view of thesystem, respectively.

One of the advantages of using a pair of independent illumination arraysto produce narrow-area illumination fields over near and far fieldportions of the FOV is that it is possible to more tightly control theproduction of a relatively “narrow” or “narrowly-tapered” narrow-areaillumination field along its widthwise dimension. For example, duringbar code menu reading applications, the near-field narrow areaillumination array can be used to generate (over the near-field portionof the FOV) an illumination field that is narrow along both itswidthwise and height-wise dimensions, to enable the user to easily alignthe illumination field (beam) with a single bar code symbol to be readfrom a bar code menu of one type or another, thereby avoidinginadvertent reads of two or more bar code symbols or simply the wrongbar code symbol. At the same time, the far-field narrow areaillumination array can be used to generate (over the far-field portionof the FOV) an illumination field that is sufficient wide along itswidthwise dimension, to enable the user to easily read elongated barcode symbols in the far-field portion of the field of view of the barcode reader, by simply moving the object towards the far portion of thefield.

Third Illustrative Embodiment of Digital Imaging-Based Bar Code SymbolReading Device of the Present Invention

Alternatively, the imaging-based bar code symbol reading device of thepresent invention can have virtually any type of form factor that wouldsupport the reading of bar code symbols at diverse applicationenvironments. One alternative form factor for the bar code symbolreading device of the present invention is a portable digitalimaging-based bar code symbol reading device of the present inventionarranged in a Presentation Mode (i.e. configured in Programmed SystemMode No. 12).

The digital imaging-based bar code symbol reading device of the presentinvention can also be realized in the form of a Digital Imaging-BasedBar Code Reading Engine that can be readily integrated into variouskinds of information collection and processing systems. Notably it isunderstood that a trigger switch or functionally equivalent device willbe typically integrated with the housing of the resultant system intowhich the engine is embedded so that the user can interact with andactuate the same. Such Engines according to the present invention can berealized in various shapes and sizes and be embedded within variouskinds of systems and devices requiring diverse image capture andprocessing functions as taught herein.

Digital Image Capture and Processing Engine of the Present InventionEmploying Linear Optical Waveguide Technology for Collecting andConducting LED-Based Illumination in the Automatic Light ExposureMeasurement and Illumination Control Subsystem During ObjectIllumination and Image Capture Modes of Operation

Referring to FIGS. 14Q through 18, it is appropriate at this juncture todescribe the digital image capture and processing engine of the presentinvention 220 employing light-pipe technology 221 for collecting andconducting LED-based illumination in the automatic light exposuremeasurement and illumination control subsystem 15 during objectillumination and image capture modes of operation.

The digital image capture and processing engine 220 is shown generatingand projecting a visible illumination-based Image Cropping Pattern (ICP)200 within the field of view (FOV) of the engine, during objectillumination and image capture operations. Typically, as shown, thedigital image capture and processing engine 220 will be embedded orintegrated within a host system 222 which uses the digital outputgenerated from the digital image capture and processing engine 220. Thehost system 222 can be any system that requires the kind of informationthat the digital image capture and processing engine 220 can capture andprocess.

As shown in 14Q and 15, the digital image capture and processing engine220 depicted in FIG. 40 is shown comprising: an assembly of anillumination/targeting optics panel 223; an illumination board 224; alens barrel assembly 225; a camera housing 226; a camera board 227; andimage processing board 230. As shown, these components are assembledinto an ultra-compact form factor offering advantages of light-weightconstruction, excellent thermal management, and exceptional imagecapture and processing performance Also, camera housing 226 has a pairof integrated engine mounting projections 226A and 226B, each providedwith a hole through which a mounting screw can be passed to fix theengine relative to an optical bench or other support structure withinthe housing of the host system or device.

In FIG. 15, the digital image capture and processing engine 220 revealsthe integration of a linear optical waveguide (i.e. light conductivepipe) component 221 within the engine housing. Preferably, opticalwaveguide 221 is made from a plastic material having high lighttransmission characteristics, and low energy absorption characteristicsover the optical band of the engine (which is tuned to the spectralcharacteristics of the LED illumination arrays and band-pass filteremployed in the engine design). The function of optical waveguide 221 isto collect and conduct light energy from the FOV of the Multi-ModeArea-Type Image Formation and Detection Subsystem 13, and direct it tothe photo-detector 228 mounted on the camera board 227, and associatedwith the Automatic Light Exposure Measurement and Illumination ControlSubsystem 15. Notably, in the engine design of the illustrativeembodiment, the optical waveguide 221 replaces the parabolic lightcollecting mirror 55 which is employed in the system design shown inFIG. 6A. Use of the optical waveguide 221 in subsystem 15 offers theadvantage of ultra-small size and tight integration within the miniaturehousing of the digital image capture and processing engine. Uponassembling the engine components, the optical waveguide 221 aligns withthe photodiode 228 on the camera board which supports subsystem 15,specified in great detail in FIGS. 6B through 6C2.

In FIG. 14Q, an exploded, perspective view of the digital image captureand processing engine 220 is provided to show how theillumination/targeting optics panel 23, the illumination board 224, thelens barrel assembly 225, the camera housing 226, the camera board 227,and its assembly pins 231A through 231D are easily arranged andassembled with respect to each other in accordance with the principlesof the present invention.

As shown in FIG. 14Q, the illumination board 224 of the illustrativeembodiment supports four (4) LEDs 238A through 238D, along with drivercircuitry, as generally taught in FIGS. 6C1 and 6C2. Also,illumination/targeting optics panel 223 supports light focusing lenses239A through 239D, for the LEDs in the illumination array supported onthe illumination board 224. Optical principles and techniques forspecifying lenses 239A through 239D are taught in FIGS. 4B through 4D7,and corresponding disclosure here. While a wide-area near/far field LEDillumination array is shown used in the digital image capture andprocessing engine of the illustrative embodiment 220, it is understoodthat the illumination array can be readily modified to support separatewide-area near field illumination and wide-area far field illumination,as well as narrow-area far and near fields of illumination, as taught ingreat detail herein.

In FIG. 15, the illumination/targeting optics panel 223, theillumination board 224 and the camera board 230 of digital image captureand processing engine 220 are shown assembled with the lens barrelassembly 225 and the camera housing 226 removed for clarity ofillustration. In FIG. 16, the illumination/targeting optics panel 223and the illumination board 224 are shown assembled together as asubassembly 232 using the assembly pins. In FIG. 17, the subassembly 232of FIG. 16 is arranged in relation to the lens barrel assembly 225, thecamera housing 226, the camera board 227 and the image processing board230, showing how these system components are assembled together toproduce the digital image capture and processing engine 220.

In FIG. 18, the digital image capture and processing engine 220illustrated in FIGS. 14Q through 17, is shown comprising: a Multi-ModeArea-Type Image Formation and Detection (i.e. Camera) Subsystem 14having image formation (camera) optics for producing a field of view(FOV) upon an object to be imaged and a CMOS or like area-type imagesensing array 22 for detecting imaged light reflected off the objectduring illumination operations in either (i) a narrow-area image capturemode in which a few central rows of pixels on the image sensing arrayare enabled, or (ii) a wide-area image capture mode in whichsubstantially all rows of the image sensing array are enabled; aLED-Based Illumination Subsystem 14 for producing a wide area field ofnarrow-band illumination within the FOV of the Image Formation AndDetection Subsystem 13 during the image capture mode, so that only lighttransmitted from the LED-Based Illumination Subsystem 14 and reflectedfrom the illuminated object and transmitted through a narrow-bandtransmission-type optical filter realized within the hand-supportablehousing (i.e. using a red-wavelength high-pass reflecting window filterelement disposed at the light transmission aperture thereof and alow-pass filter before the image sensor) is detected by the image sensorand all other components of ambient light are substantially rejected; anImage Cropping Pattern Generator 203 for generating a visibleillumination-based Image Cropping Pattern (ICP) 200 projected within thefield of view (FOV) of the Multi-Mode Area-type Image Formation andDetection Subsystem 13; an IR-Based Object Presence And Range DetectionSubsystem 12 for producing an IR-based object detection field within theFOV of the Image Formation and Detection Subsystem 13; an AutomaticLight

Exposure Measurement and Illumination Control Subsystem 14 for measuringillumination levels in the FOV and controlling the operation of theLED-Based Multi-Mode Illumination Subsystem 14 during the image capturemode; an Image Capturing and Buffering Subsystem 16 for capturing andbuffering 2-D images detected by the Image Formation and DetectionSubsystem 13; an Image Processing and Cropped Image Locating Module 201for processing captured and buffered images to locate the image regioncorresponding to the region defined by the Image Cropping Pattern (ICP)200; an Image Perspective Correction and Scaling Module 202 forcorrecting the perspective of the cropped image region and scaling thecorrected image to a predetermined (i.e. fixed) pixel image sizesuitable for decode-processing; a Multimode Image-Processing Based BarCode Symbol Reading Subsystem 17 for processing cropped and scaledimages generated by the Image Perspective and Scaling Module 202 andreading 1D and 2D bar code symbols represented; and an Input/OutputSubsystem 18 for outputting processed image data and the like to anexternal host system or other information receiving or respondingdevice, in which each said subsystem component is integrated about aSystem Control Subsystem 19, as shown.

Notably, use of FOV folding mirror 236 can help to achieve a wider FOVbeyond the light transmission window, while using a housing havingnarrower depth dimensions. Also, use of the linear optical waveguide 221obviates the need for large aperture light collection optics whichrequires significant space within the housing.

Digital Image Capture and Processing Engine of the Present InventionEmploying Curved Optical Waveguide Technology for Collecting andConducting LED-Based Illumination in the Automatic Light ExposureMeasurement and Illumination Control Subsystem During ObjectIllumination and Image Capture Modes of Operation

In FIGS. 19A1 and 19A2, an alternative embodiment of the digital imagecapture and processing engine 220 of the present invention 220′ is shownreconfigured in such as way that the illumination/aiming subassembly 232(depicted in FIG. 16) is detached from the camera housing 226 andmounted adjacent the light transmission window 233 of the engine housing234. The remaining subassembly, including lens barrel assembly 225, thecamera housing 226, the camera board 227 and the image processing board230 is mounted relative to the bottom of the engine housing 234 so thatthe optical axis of the camera lens assembly 225 is parallel with thelight transmission aperture 233. A curved optical waveguide 221 is usedto collect light from a central portion of the field of view of theengine, and guide the collected light to photodiode 228 on the cameraboard 227. In addition, a field of view (FOV) folding mirror 236 ismounted beneath the illumination/aiming subassembly 232 for directingthe FOV of the system out through the central aperture 237 formed in theillumination/aiming subassembly 232. Use of the FOV folding mirror 235in this design can help to achieve a wider FOV beyond the lighttransmission window, while using housing having narrower depthdimensions. Also, use of the curved optical waveguide 221 obviates theneed for large aperture light collection optics which requiressignificant space within the housing.

Automatic Imaging-Based Bar Code Symbol Reading System of the PresentInvention Supporting Presentation-Type Modes of Operation UsingWide-Area Illumination and Video Image Capture and Processing Techniques

In FIGS. 19B1 through 19B3, a presentation-type imaging-based bar codesymbol reading system 300 is shown constructed using the generalcomponents of the digital image capture and processing engine of FIGS.19A1. As shown, the illumination/aiming subassembly 232′ of FIG. 16 ismounted adjacent the light transmission window 233′ of the systemhousing 301. The remaining subassembly, including lens barrel assembly225′, the camera housing 226′, the camera board 227′ and the imageprocessing board 230′, is mounted relative to the bottom of the enginehousing 234′ so that the optical axis of the camera lens is parallelwith the light transmission aperture 233′. In addition, a field of view(FOV) folding mirror 236′ is mounted beneath the illumination/aimingsubassembly 232′ for directing the FOV of the system out through thecentral aperture formed in the illumination/aiming subassembly 232′.

Automatic Imaging-Based Bar Code Symbol Reading System of the PresentInvention Supporting a Pass-Through Mode of Operation Using Narrow-AreaIllumination and Video Image Capture and Processing Techniques, and aPresentation-Type Mode of Operation Using Wide-Area Illumination andVideo Image Capture and Processing Techniques

In FIGS. 19C1 through 19C5, there is shown an automatic imaging-basedbar code symbol reading system of the present invention 400 supporting apass-through mode of operation illustrated in FIG. 19C2 usingnarrow-area illumination and video image capture and processingtechniques, and a presentation-type mode of operation illustrated inFIG. 19C3 using wide-area illumination and video image capture andprocessing techniques. As shown in FIGS. 19C1 through 19C5, thePOS-based imaging system 400 employs a digital image capture andprocessing engine similar in design to that shown in FIGS. 19B1 and 19B2and that shown in FIG. 2A1, except for the following differences:

(1) the Automatic Light Exposure Measurement and Illumination ControlSubsystem 15 is adapted to measure the light exposure on a centralportion of the CMOS image sensing array and control the operation of theLED-Based Multi-Mode Illumination Subsystem 14 in cooperation with a theMulti-Mode Image Processing Based Bar Code Symbol Reading Subsystem 17employing software for performing real-time “exposure quality analysis”of captured digital images in accordance with an adaptive system controlmethod of the present invention;

(2) the substantially-coplanar narrow-area field of illumination andnarrow-area FOV 401 are oriented in the vertical direction (i.e.oriented along Up and Down directions) with respect to the countersurface of the POS environment, so as to support the “pass-through”imaging mode of the system, as illustrated in FIG. 19C2; and

(3) the IR-based object presence and range detection system 12 employedin FIG. 19A2 is replaced with an automatic IR-based object presence anddirection detection subsystem 12′ comprising four independent IR-basedobject presence and direction detection channels (i.e. fields) 402A,402B, 402C and 402D, generated by IR LED and photodiode pairs 12A1,12A2, 12A3 and 12A4 respectively, which automatically produce activationcontrol signals A1(t), A2(t), A3(t) and A4(t) upon detecting an objectmoving through the object presence and direction detection fields, and asignal analyzer and control logic block 12B′ for receiving andprocessing these activation control signals A1(t), A2(t), A3(t) andA4(t), according to Processing Rules 1 through 5 set forth in FIG. 19C4,so as to generate a control activation signal indicative that thedetected object is being moved either in a “pass-though” direction (e.g.L→R, R→L, U→D, or D→U), or in a “presentation” direction (towards theimaging window of the system).

Preferably, this POS-based imaging system supports an adaptive controlprocess, and in the illustrative embodiment of the present invention,operates generally according to System Mode No. 17, describedhereinabove. In this POS-based imaging system, the “trigger signal” isgenerated from the automatic IR-based object presence and directiondetection subsystem 12′. In the illustrative embodiment, the triggersignal can take on one or three possible values, namely: (1) that noobject has been detected in the FOV of the system; (2) that an objecthas been detected in the FOV and is being moved therethrough in a“Pass-Through” manner; or that an object has been detected in the FOVand is being moved therethrough in a Presentation” manner (i.e. towardthe imaging window).

By virtue of the intelligent automatic pass-through/presentation digitalimage capture and processing system of the present invention, it is nowpossible for operators to move objects past the imager in either apass-through or presentation type manner, and the system willautomatically adapt and reconfigure itself to optimally support themethod of image-based scanning chosen by the operator.

Alternative Embodiments of Imaging-Based Bar Code Symbol Reading Systemof the Present Invention

In FIG. 20A, a first alternative embodiment of a projection-type POSimage-processing based bar code symbol reading system 250 is shownemploying the digital image capture and processing engine 220 or 220′.As shown, system 250 includes a housing 251 which may contain the enginehousing shown in FIG. 19A1, or alternatively, it may support thesubassemblies and components shown in FIG. 19A1.

In FIG. 20B, a second illustrative embodiment of a projection-type POSimage-processing based bar code symbol reading system 260 is shownemploying the digital image capture and processing engine 220 or 220′.As shown, system 260 includes a housing 261 which may contain the enginehousing shown in FIG. 19A1, or alternatively, it may support thesubassemblies and components shown in FIG. 19A1.

In FIG. 20C, a third illustrative embodiment of a projection-type POSimage-processing based bar code symbol reading system 270 is shownemploying the digital image capture and processing engine 220 or 220′.As shown, system 270 includes a housing portion 271 (containing engine220 or 220′), and a base portion 272 for rotatably supporting housingportion 271. Housing portion 271 may contain the engine housing shown inFIG. 19A1, or alternatively, it may support the subassemblies andcomponents shown in FIG. 19A1.

In each of the POS-based systems disclosed in FIGS. 20A, 20B and 20C,the number of LEDs mounted on the illumination board 224 can besubstantially greater than four (4), as shown in the illustrativeembodiment in FIG. 19C1 through 19C5. The exact number of LEDs used inthe illumination will depend on the end-user application requirements athand. Also, the IR-Based Object Presence And Range Detection Subsystem12 employed therein may be used to detect the range of an object withinthe FOV, and the LED-Based Illumination Subsystem 14 may include bothlong and short range wide-area LED illumination arrays, as disclosedhereinabove, for optimized illumination of long and short range regionsof the FOV during image capture operations.

In FIG. 21, a price lookup unit (PLU) system 280 is shown comprising: ahousing 281 with mounting bracket; a LCD panel 282; a computing platform283 with network interfaces etc, and a digital image capture andprocessing subsystem 220 or 220′ of the present invention, foridentifying bar coded consumer products in retail store environments,and displaying the price thereof on the LCD panel 282.

Method of and Apparatus for Modifying and/or Extending System Featuresand Functions Within a Digital Image Capture and Processing System inAccordance With Principles of the Present Invention

Referring now to FIGS. 22 through 23C2, the method of and apparatus forextending the standard system features and functions within a digitalimage capture and processing system of the present invention, will nowbe described below. While it is understood that any of the digital imagecapture and processing systems described and disclosed herein could bereferred to for purposes of illustrating the novel plug-in programmingmethodology of the present invention, described in FIGS. 22 through23C2, reference will be made to the digital imaging based bar codereading system shown in FIGS. 2A through 13F for purposes ofillustration, and not limitation.

As indicated in Block A of FIG. 22, the first step involves the “systemdesigner” of the Imaging-based Bar Code Symbol Reading System (having amulti-tier software architecture), determining which “features” of thesystem (implemented by Tasks called in the Application Layer) and whichfunctions within any given feature, will be modifiable and/or extendableby end-users and/or third-party persons other (than the originaldesigner and the manufacturer, e.g. VARs, end-users, customers et al.)without having detailed knowledge of the system's hardware platform, itscommunication interfaces with the outside environment, or its userinterfaces. This step by the system designer establishes constraints onsystem modification by others, yet provides degrees of freedom on howthe system can be modified to meet custom requirements of end-userapplications.

As indicated in Block B of FIG. 22, based on such determinations, thesystem designer designs and makes the image-processing based bar codereading system of the present invention, wherein persons other than thesystem designer (e.g. end-users and third-parties) are permitted tomodify and/or extend the system features and functionalities of theoriginal product/system specified by the system designer (i.e. designerof the original product/system) in Block A.

As indicated in Block C of FIG. 22, persons other than the systemdesigner, then determine which modifiable and/or extendable systemfeatures and functions they wish to modify and/or extend to meet aparticular set of end-user application requirements.

As indicated in Block D of FIG. 22, for each modifiable feature/functionto be modified in the system, persons other than the system designerdevelop a “plug-in module” (third-party code or “software object”) toimplement the designed custom system feature, and thereafter theyinstall the plug-in module (i.e. third-party code) within the suitableLibrary(ies) in the Application Layer of the multi-tier system.

As indicated in Block E of FIG. 22, persons other than the systemdesigner reconfigure the functions associated with each modifiableand/or extendible feature within the system by either sendingcommunications from a host system, or by reading function-reconfiguringbar code symbols.

Having provided a brief overview on the system feature/functionalitymodification methodology of the present invention, it is now in order todescribe these method steps in greater detail referring to FIG. 10, andFIGS. 22 through 23C2, in particular.

In the illustrative embodiment, each plug-in module, stored within thePlug-In and Configuration File Library, shown in FIG. 10, consists ofthe set of software libraries (object modules) and configuration files.They can be downloaded to the Image-Processing Based Bar Code SymbolReading System from an external host system, such as Plug-in DevelopmentPlatform implemented on a host PC, and using various standard orproprietary communication protocols to communicate with the OS layer ofthe system. In the Image-Processing Based Bar Code Symbol ReadingSystem, this operation is performed by the Metroset task or User CommandManager (see Software Block Diagram) upon reception of the appropriatecommand from the host system. Once the download is complete, the plug-infiles are stored in the file system of the Image-Processing Based BarCode Symbol Reading System.

The management of all plug-in modules (i.e. third-party code) isperformed by the Plug-in Controller shown in FIG. 10. The Plug-inController can perform operations such as: load (install) plug-in modulefrom the file system to the executable memory of the Image-ProcessingBased Bar Code Symbol Reading System and perform dynamic linking of theplug-in libraries with the Application; unload (uninstall) the plug-inmodule; provide executable address of (i.e. Place Holder for) theplug-in module (i.e. third-party code) to the Application; provideadditional information about the plug-in module to the Application, suchas the rules of the plug-in engagement as described in the plug-inconfiguration file.

Any task of the Image-Processing Based Bar Code Symbol Reading Systemcan request information from the Plug-in Controller about a plug-inmodule and/or request an operation on it. For a set of predeterminedfeatures, the Application tasks can request the Plug-in Controller tocheck the availability of a third-party plug-in module, and if suchmodule is available, install it and provide its executable address aswell as the rules of the plug-in engagement. The tasks then can executeit either instead or along with the “standard” module that implementsthe particular feature. The rules of engagement of the plug-in module,i.e. determination whether the plug-in module should be executed as areplacement or a complimentary module to the “standard” module, can beunique to the particular feature. The rules can also specify whether thecomplimentary plug-in module should be executed first, prior to the“standard” module, or after. Moreover, the plug-in module, if executedfirst, can indicate back to the device whether the “standard” moduleshould also be called or not, thus, allowing the alteration of thedevice's behavior. The programming interfaces are predefined for thefeatures that allow the plug-in functionality, thus, enabling thethird-parties to develop their own software for the device.

Consider, as a first and very simple example, an Image Pre-ProcessingPlug-in. The original equipment manufacturer of the Image-ProcessingBased Bar Code Symbol Reading System supplies the system's “standard”Image Pre-Processing Module (i.e. “original product code” of executablebinary format), which is normally executed by the Main Task, after thesystem acquires an image. In accordance with the principles of thepresent invention, the customer can provide its own image preprocessingsoftware as a plug-in module (i.e. “third-party code”) to the multi-tiersoftware-based system. Notably, the third-party code is typicallyexpressed in executable binary format. The plug-in can be described in a“Image Preprocessing Plug-in Configuration File”, having a format, forexample, as expressed below:

// Image Preprocessing Configuration File //type param library functionIMGPREPR: libimgprepr_plugin.so.1−>PluginImgprepr IMGPREPR_PROGMD:libimgprepr_plugin.so.1−>PluginImgpreprProgmd IMGPREPR_PROGBC:libimgprepr_plugin.so.1−>PluginImgpreprProgbc

The block-diagram set forth in FIG. 23A illustrates the logic of theImage Preprocessing plug-in.

Consider, as a second, more interesting example, the Image Processingand Barcode Decoding Plug-in described in FIG. 23B. The originalequipment manufacturer of the Image-Processing Based Bar Code SymbolReading System supplies the system's “standard” Image Processing andBarcode Decoding Module, which is normally executed by the Main Taskafter the system acquires an image, as indicated in FIG. 23. Inaccordance with the principles of the present invention, the customercan provide its own image processing and barcode decoding software as aplug-in module to the multi-tier software-based system. The plug-in canbe described in a “Image Processing and Barcode Decoding Plug-inConfiguration File”, having a format, for example, as expressed below:

// Decode Plug-in Configuration File bit meaning 0 0 = complimentstandard; 1 = replace standard 1 (if bit 0 == 0) 0 = call beforestandard func; 1 = call after standard func 2 reserved . . . . . .//type param library function DECODE: 0x02: libdecode_plugin.so.1−>PluginDecodewherein “DECODE” is a keyword identifying the image processing andbarcode decoding plug-in; wherein “0x02” is the value identifying theplug-in's rules of engagement; wherein “libdecodeplugin.so.1” is thename of the plug-in library in the device's file system; and wherein“PluginDecode” is the name of the plug-in function that implements thecustomer-specific image processing and barcode decoding functionality.

The individual bits of the value “param”, which is used as the valueindicating the rules of this particular plug-in's engagement, can havethe following meaning:

The value “0x02”, therefore, means that the customer plug-in is acomplimentary, not a replacement, module (the bit “0” is 0), and itshould be executed after the execution of the standard module (bit “1”is 1).

Consider, as a third example, the Image Processing and Barcode DecodingPlug-in described in FIG. 23C1. The original equipment manufacturer ofthe Image-Processing Based Bar Code Symbol Reading System supplies thesystem's “standard” Image Processing and Barcode Decoding Module, whichis normally executed by the Main Task after the system acquires an imageas indicated in FIG. 23. In accordance with the principles of thepresent invention, the customer can provide its own image processing andbarcode decoding software as a plug-in module to the multi-tiersoftware-based system. The plug-in can be described in a “ImageProcessing and Barcode Decoding Plug-in Configuration File”, having aformat, for example, as expressed below:

// Data Formatting Plug-in Configuration File //type param libraryfunction PREFORMAT: libformat_plugin.so.1−>PluginPreformatFORMAT_PROGMD: libformat_plugin.so.1−>PluginFormatProgmd FORMAT_PROGBC:libformat_plugin.so.1−>PluginFormatProgbc

The block-diagram set forth in FIG. 23C1 illustrates the logic of theData Formatting Procedure plug-in.

The Plug-Ins described above provide a few examples of the many kinds ofplug-ins (objects) that be developed so that allowed features andfunctionalities of the system can be modified by persons other than thesystem designer, in accordance with the principles of the presentinvention. Other system features and functionalities for which Plug-inmodules can be developed and installed within the Image-Processing BasedBar Code Symbol Reading System include, but are not limited to, controlover functions supported and performed by the following systems: theIR-based Object Presence and Range Detection Subsystem 12; theMulti-Mode Area-type Image Formation and Detection (i.e. camera)Subsystem 13; the Multi-Mode LED-Based Illumination Subsystem 14; theAutomatic Light Exposure Measurement and Illumination Control Subsystem15; the Image Capturing and Buffering Subsystem 16; the Multi-ModeImage-Processing Bar Code Symbol Reading Subsystem 17; the Input/OutputSubsystem 18; the manually-actuatable trigger switch 2C; the System ModeConfiguration Parameter Table 70; the System Control Subsystem 18; andany other subsystems which may be integrated within the Image-ProcessingBased Bar Code Symbol Reading System.

Having described the structure and function of Plug-In Modules that canbe created by persons other than the OEM system designer, it is now inorder to describe an illustrative embodiment of the Plug-In DevelopmentPlatform of the present invention with reference to FIGS. 10 and 11.

In the illustrative embodiment, the system designer/OEM of the system(e.g. Metrologic Focus™1690 Image-Processing Bar Code Reader) willprovide the plug-in developer with a CD that contains, for example, thefollowing software tools:

Arm Linux Toolchain for Linux PC

-   This directory contains the Arm Linux cross-compiling toolchain    package for IBM-compatible Linux PC.

Arm Linux Toolchain for Cygwin

-   This directory contains the Arm Linux cross-compiling toolchain    package for IBM-compatible Windows PC. The Cygwin software must be    installed prior to the usage of this cross-compiling toolchain.

Plug-In Samples

-   This directory contains sample plug-in development projects. The    plug-in software must be compiled on the IBM-compatible Linux PC    using the Arm Linux Toolchain for Linux PC or on Windows PC with    installed Cygwin software using Arm Linux Toolchain for Cygwin.

FWZ Maker

-   This directory contains the installation package of the program FWZ    Maker for Windows PC. This program is used to build the FWZ-files    for downloading into the Focus 1690 scanner.

Latest Metrologic 0 Focus™ Software

-   This directory contains the FWZ-file with the latest Metrologi®    Focus™ scanner software.

The first step of the plug-in software development process involvesconfiguring the plug-in developer platform by installing the above toolson the host/developer computer system. The next step involves installingsystem software onto the Image-Processing Bar Code Reader, via the hostplug-in developer platform using a communications cable between thecommunication ports of the system and the plug-in developer computershown in FIGS. 10 and 11.

To develop plug-in software, a corresponding shared library can bedeveloped on the plug-in developer platform (i.e. the Linux PC) or inWindows Cygwin, and then the proper plug-in configuration file. Theplug-in configuration file is then be loaded to the “/usr” directory inthe case of developing a plug-in for example, an image capture andreceiving device, such as Metrologic's Focus™ image-processing bar codereader. In this illustrative embodiment, each line of the plug-inconfiguration file contains information about a plug-in function in thefollowing format:

-   plug-in type: parameter: filename→function_name-   wherein plug-in type is one of the supported plug-in type keywords,    followed by the field separator “:”;-   wherein parameter is a number (could be decimal or hex, if preceded    with 0x), having a specific and unique meaning for some plug-in    functions. The parameter is also called a “call-mode”, for it can    provide some specific information on how the plug-in should be    called. The parameter is not required and can be omitted. If    specified, the parameter must be followed by the field separator    “:”;-   wherein filename is the name of the shared library, followed by the    filename separator “”. The filename can contain a full-path to the    library. If the path is omitted, the library is assumed to be    located in either “/usr/local/lib” or “/usr/lib/” directory in the    Focus scanner. It is therefore important to make sure that the    shared library is loaded to the correct directory in the Focus    scanner, as specified by the plug-in configuration file; and-   wherein function_name is the name of the corresponding plug-in C    function.

Notably, that the configuration file can also contain single-lineC-style comments.

It is within the discretion of the plug-in developer to decide whichplug-in functions (of those supported by the system designer) should beincluded in the plug-in module (i.e. “object”). Once the shared libraryis built and configuration file is prepared on the plug-in developmentplatform (illustrated in FIGS. 10 and 11), the plug-in developer canthen generate the FWZ file and include the configuration file and theshared library in it using FWZ Maker program on the Windows PC.Thereafter, the FWZ file can be downloaded to Metrologic's Focus™Image-processing bar code reader using, for example, Metrologic'sMetroset program's Flash Utility tool.

In the case of installing plug-in software for Metrologic's Focus™Image-processing bar code reader, it is recommended not to use dynamicmemory allocation and have static buffers rather than allocating themdynamically. As far as the filesystem is concerned, if necessary tostore data in a file, then the locations such as “/use” and “/usr/local”are recommended for storing data in non-volatile Flash memory; the“/tmp” directory can be used to store data in RAM.

Programming Barcodes and Programming Modes

In the illustrative embodiment, configuration of image-processing barcode reader of the present invention can be changed via scanning specialprogramming barcodes, or by sending equivalent data to the reader fromthe host computer (i.e. plug-in development computer). Programmingbarcodes are usually Code 128 symbols with the Fn3 codeword.

When scanning a programming barcode, the reader may or may not be in itsso-called programming mode. When the reader is not in its programmingmode, the effect of the programming barcode is supposed to be immediate.On the other hand, when the reader is in its programming mode, theeffect of all the programming barcodes read during the programming modeshould occur at the time when the reader exits the programming mode.

There is a special set of programming barcodes reserved for the plug-insoftware configuration purposes. These barcodes have at least 4 datacharacters, and the first three data characters are “990”. It isrecommended (but not required) that the Decode Plug-in use programmingbarcodes having 6 characters long, starting with “9900xx”. It isrecommended (but not required) that the Image Preprocessing Plug-in useprogramming barcodes having 6 characters long, starting with “9901xx”.It is recommended (but not required) that the Formatting Plug-in useprogramming barcodes having 6 characters long, starting with “9902xx”.

Once a plug-in module has been developed in accordance with theprinciples of the present invention, the plug-in can be uninstalled bysimply downloading an empty plug-in configuration file. For example, touninstall a Decode plug-in, download an empty “decode.plugin” file intothe “/usr” directory of the file system within the OS layer, shown inFIG. 10.

Details About the Decode Plug-In of the Illustrative Embodiment

The purpose of the Decode Plug-in is to provide a replacement or acomplimentary barcode decoding software to the standard Focus barcodedecoding. The Decode Plug-in can have the following plug-in functions:

DECODE; DECODE_ENABLE2D; DECODE_PROGMD; DECODE_PROGBC.

DECODE Plug-In Function

This function is called to perform a barcode decoding from the givenimage in memory. Image is represented in memory as a two-dimensionalarray of 8-bit pixels. The first pixel of the array represents theupper-left corner of the image.

Function Prototype:

int /* Return: number of decoded barcodes; negative if error */(*PLUGIN_DECODE)( void *p_image, /* Input: pointer to the image */ intsize_x,  /* Input: number of columns */ int size_y,  /* Input: number ofrows */ int pitch, /* Input: row size, in bytes */ DECODE_RESULT*p_decode_results, /* Output: decode results */ int max_decodes,  /*Input: maximum decode results allowed  */ int *p_cancel_flag);  /*Input: if not NULL, pointer to the  cancel flag */Note that p_decode_results points to the location in memory where theDecode plug-in function should store one or more results of barcodedecoding (if of course the plug-in successfully decodes one or morebarcodes in the given image) in the form of the array of DECODE_RESULTstructures. The maximum number of allowed decode results (i.e. the sizeof the array) is given in max_decodes. The plug-in must return thenumber of successfully decoded barcodes (i.e. the number of populatedelements in the array p_decode_results), or a negative number in case ofan error.

If p_cancel_flag is not NULL, it points to the integer flag (called“Cancel flag”) that indicates whether the decoding process shouldcontinue or should stop as soon as possible. If the flag is 0, thedecoding process can continue. If the flag is not zero, the decodingprocess must stop as soon as possible. The reason for aborting thedecoding process could be, for example, a time out. It is recommended tocheck the Cancel flag often enough so that the latency on aborting thedecoding process would be as short as possible.

Note that the Cancel flag is not the only way the Decoding plug-in (orany plug-in for that matter) can be aborted. Depending on thecircumstances, the system can decide to abruptly kill the thread, inwhich the Decoding plug-in is running, at any time.

Structure DECODE_RESULT

The structure DECODE_RESULT has the following format:

#define MAX_DECODED_DATA_LEN 4096 #define MAX_SUPPL_DATA_LEN 128 typedefstruct { int x; int y; } BC_POINT; typedef struct { BC_POINT BCPts[4];/* Coordinates of the 4 corners of the barcode */ } BC_BOUNDS;

The order of the array elements (i.e. corners) in BC_BOUNDS structure isas follows:

0 - top left 1 - top right 2 - bottom right 3 - bottom left typedefstruct { int decode_result_index; /* index of the decode result,starting from 0 */ int num_decode_results;  /* total number of decoderesults minus 1 (i.e. 0-based) */ char SymId[32]; /* the symbologyidentifier characters */ int Symbology; /* the decoded barcode'ssymbology identifier number */ int Modifier;  /* additional informationof the decoded barcode */ int DecId;  /* reserved */ int Class; /* 1 forID, 2 for 2D*/ unsigned char Data[MAX_DECODED_DATA_LEN]; /* decodeddata - may contain null chars */ int Length;  /* number of characters inthe decoded barcode */ unsigned char SupplData[MAX_SUPPL_DATA_LEN]; /*supplemental code's data */ int SupplLength; /* number of characters inthe supplemental code's data */ unsigned charLinkedData[MAX_DECODED_DATA_LEN]; int LinkedLength; BC_BOUNDS C_Bounds;/* Bounds for the primary barcode */ BC_BOUNDS S_Bounds; /* Bounds forthe supplemental barcode */ } DECODE_RESULT;

The first two members of each populated DECODE_RESULT structure mustcontain a zero-based index of the decode result in the array (i.e. thefirst decode result must have decode_result_index=0, the second musthave decode_result_index=1, and so on) and the zero-based total numberof successfully decoded barcodes (which should equal the returned valueminus 1).

The Symld member of DECODE_RESULT structure can have a string of up to31 null-terminated characters describing the barcode symbology. It isused for informational purposes only. The following values arerecommended for some known barcode symbologies.

“AZTEC” Aztec “CBR” Codabar “CBK_A” Codablock A “CBK_F” Codablock F“C11” Code 11 “C128” Code 128 “C39” Code 39 “C93” Code 93 “DM”Datamatrix “S2O5” Straight 2 of 5 “I2O5” Interleaved 2 of 5 “MC”MexiCode “PDF” Code PDF “QR” Code QR “RSS-E” Code RSS-E “RSS-EST” CodeRSS-EST “RSS14-LIM” Code RSS Limited “RSS14” Code RSS-14 “RSS14-ST” CodeRSS-ST “UPC” Code UPC/EANThe Symbology member of the DECODE_RESULT structure must contain the idof the decoded barcode symbology. The following symbology ids must beused for the known barcode symbologies:

MBCD_SYM_C128 Code 128 MBCD_SYM_C39 Code 39 MBCD_SYM_ITF Interleaved 2of 5 MBCD_SYM_C93 Code 93 MBCD_SYM_CBR Codabar MBCD_SYM_UPC Code UPC/EANMBCD_SYM_TPEN Telepen MBCD_SYM_RSS14 Code RSS-14 MBCD_SYM_RSSE CodeRSS-E MBCD_SYM_RSSL Code RSS Limited MBCD_SYM_MTF Matrix 2 of 5MBCD_SYM_ATF Airline 2 of 5 MBCD_SYM_STF Straight 2 of 5 MBCD_SYM_MPLYMSI Plessey MBCD_SYM_C11 Code 11 MBCD_SYM_PDF Code PDF MBCD_SYM_PNPostnet MBCD_SYM_DM Datamatrix MBCD_SYM_MC MaxiCode MBCD_SYM_QR Code QRMBCD_SYM_AZ Aztec MBCD_SYM_MICROPDF MicroPDF MBCD_SYM_CBLA 1Codablock AMBCD_SYM_CBLF Codablock F MBCD_SYM_UNKNOWN User-defined symbology

The Modifier member of the DECODE_RESULT structure contains additionalinformation about the decoded barcode. The values of the Modifier areusually bit-combinatory. They are unique for different symbologies, andmany symbologies don't use it all. If the Modifier is not used, itshould be set to 0. For some symbologies that support Modifier, thepossible values are presented below.

Coupon Modifier MBCD_MODIFIER_COUP Coupon code UPC Modifier Bit FlagConstants MBCD_MODIFIER_UPCA UPC-A MBCD_MODIFIER_UPCE UPC-EMBCD_MODIFIER_EAN8 EAN-8 MBCD_MODIFIER_EAN13 EAN-13 MBCD_MODIFIER_SUPP22-digit supplement MBCD_MODIFIER_SUPP5 5 digit supplement Code 128Modifier Bit Flag Constants MBCD_MODIFIER_C128A Code 128 with A startcharacter MBCD_MODIFIER_C128B Code 128 with B start characterMBCD_MODIFIER_C128C Code 128 with C start character, but not an EAN128MBCD_MODIFIER_EAN128 EAN-128 MBCD_MODIFIER_PROG Programming label(overrides all other considerations) MBCD_MODIFIER_AIM_AI Code 128 withAIM Application indicator Code 39 Modifier Bits Flag ConstandsMBCD_MODIFIER_ITPHARM Italian Pharmaceutical Codabar Modifier Bit FlagConstants MBCD_MODIFIER_CBR_DF Double-Field Codabar POSTNET iModifierBit Flag Constants MBCD_MODIFIER_PN POSTNET MBCD_MODIFIER_JAP Japan PostMBCD_MODIFIER_AUS Australia Post MBCD_MODIFIER_PLANET PLANETMBCD_MODIFIER_RM Royal Mail MBCD_MODIFIER_KIX KIX CodeMBCD_MODIFIER_UPU57 UPU (57-bar) MBCD_MODIFIER_UPU75 UPU (75-bar)Datamatrix Modifier Bit Flag Constants MBCD_MODIFIER_ECC140 ECC 000-140MBCD_MODIFIER_ECC200 ECC 200 MBCD_MODIFIER_FNC15 ECC 200, FNC1 in firstor fifth position MBCD_MODIFIER_FNC26 ECC 200, FNC1 in second or sixthposition MBCD_MODIFIER_ECI ECC 200, ECI protocol implementedMBCD_MODIFIER_FNC15_ECI ECC 200, FNC1 in first or fifth position, ECIprotocol MBCD_MODIFIER_FNC26_ECI ECC 200, FNC1 in second or sixthposition, ECI protocol MBCD_MODIFIER_RP Reader Programming Code MaxiCodeModifier Bit Flag Constants MBCD_MODIFIER_MZ Symbol in Mode 0MBCD_MODIFIER_M45 Symbol in Mode 4 or 5 MBCD_MODIFIER_M23 Symbol in Mode2 or 3 MBCD_MODIFIER_M45_ECI Symbol in Mode 4 or 5, ECI protocolMBCD_MODIFIER_M23_ECI Symbol in Mode 2 or 3, ECI protocolThe DecId member of the DECODE_RESULT structure is currently not usedand should be set to 0.

The Class member of the DECODE_RESULT structure must be set either to 1or 2. If the decoded barcode is a regular linear barcode, such as UPC,Code 39, RSS, etc., the Class should be set to 1. If the decoded barcodeis a 2D symbology, such as Code PDF, Datamatrix, Aztec, MaxiCode, etc.,the Class should be set to 2.

The Data member of the DECODE_RESULT structure contains the decodeddata. It can contain up to MAX_DECODED_DATA_LEN bytes of data.

The Length member of the DECODE_RESULT structure specifies how manybytes of decoded data are stored in Data.

The SupplData member of the DECODE_RESULT structure contains the datadecoded in a supplemental part of the barcode, such as a coupon. It cancontain up to MAX_DECODED_DATA_LEN bytes of data.

The SupplLength member of the DECODE_RESULT structure specifies how manybytes of decoded data are stored in SupplData.

The LinkedData member of the DECODE_RESULT structure contains the datadecoded in a secondary part of the composite barcode, such as RSS/PDFcomposite. It can contain up to MAX_DECODED_DATA_LEN bytes of data.

The LinkedLength member of the DECODE_RESULT structure specifies howmany bytes of decoded data are stored in LinkedData.

The C_Bounds and S_Bounds members of the DECODE_RESULT structure arecurrently not used.

DECODE Plug-In Call-Mode

The DECODE plug-in can have the following call-mode values:

-   bit value-   0←0=compliment standard; 1=replace standard-   1←(if bit0==0) 0=call before standard function; 1=call after    standard function

The default call-mode value is 0, meaning that by default, the DECODEplug-in is considered a complimentary module to standard Focus barcodedecoding software and is executed before the standard function. In thiscase, the standard function will be called only if the result returnedfrom DECODE plug-in is not negative and less than max_decodes.

DECODE_ENABLE2D Plug-In Function

This function is called to notify the plug-in that the scanner enters amode of operation in which decoding of 2D symbologies (such as PDF417,Datamatrix, etc.) should be either allowed or disallowed. By default,the decoding of 2D symbologies is allowed.

Function Prototype:

void (*PLUGIN_ENABLE2D)(int enable); /* Input: 0 = disable; 1 = enable*/For example, when the Focus scanner is configured to work in linear mode(as opposed to omni-directional mode), the decoding of 2D symbologies isdisallowed.

DECODE_PROGMD Plug-In Function

This function is called to notify the plug-in that the scanner enters aprogramming mode.

Function Prototype:

void (*PLUGIN_PROGMD)(int progmd); /* Input: 1 = enter; 0 = normal exit;(−1) = abort */

DECODE_PROGBC Plug-In Function

This function is called to notify the plug-in that the scanner justscanned a programming barcode, which can be used by the plug-in for itsconfiguration purposes.

Function Prototype:

int /* Return: 1 if successful; 0 if barcode is invalid; negative iferror */ (*PLUGIN_PROGBC)(unsigned char *bufferptr,   int data_len);

Details About the Image Preprocessing Plug-In of the IllustrativeEmbodiment of the Present Invention

The purpose of the Image Preprocessing Plug-in is to allow the plug-into perform some special image processing right after the imageacquisition and prior to the barcode decoding. The Image PreprocessingPlug-in can have the following plug-in functions:

-   IMGPREPR; IMGPREPR_PROGMD; IMGPREPR_PROGBC.

IMGPREPR Plug-In Function

This function is called to perform an image preprocessing. The image isrepresented in memory as a two-dimensional array of 8-bit pixels. Thefirst pixel of the array represents the upper-left corner of the image.

Function Prototype:

int /* Return: 1 if preprocessing is done; 0 if not; neg. if error */(*PLUGIN_IMGPREPR)( void *p_image,  /* Input: pointer to the image */int size_x,  /* Input: number of columns */ int size_y,  /* Input:number of rows */ int pitch, /* Input: row size, in bytes */ void**pp_new_image,  /* Output: pointer to the new image */ int*p_new_size_x,  /* Output: new number of columns */ int *p new_size_y, /* Output: new number of rows */ int *p_new_pitch); /* Output: new rowsize, in bytes */

If the IMGPREPR plug-in function is successful, it should return 1 andstore the address of the new image in the location in memory pointed toby pp_new_image. The new image dimensions should be stored in thelocations pointed to by p_new_size_x, p_new_size_y, and p_new_pitch.

If the preprocessing is not performed for whatever reason, the IMGPREPRplug-in function must return 0.

The negative returned value indicates an error.

IMGPREPR_(—)

PROGMD Plug-In Function

This function is called to notify the plug-in that the scanner enters aprogramming mode.

Function prototype:

void (*PLUGIN_PROGMD)(int progmd); /* Input: 1 = enter; 0 = normal exit;(−1) = abort */

IMGPREPR PROGBC Plug-In Function

This function is called to notify the plug-in that the scanner justscanned a programming barcode, which can be used by the plug-in for itsconfiguration purposes.

Function Prototype:

int /* Return: 1 if successful; 0 if barcode is invalid; negative iferror */ (*PLUGIN_PROGBC)(unsigned char *bufferptr,   int data_len);

Details About Formatting Plug-In of the Illustrative Embodiment

The purpose of the Formatting Plug-in is to provide a replacement orcomplimentary software to the standard Focus data formatting software.The Formatting Plug-in configuration file must have the name“format.plugin” and loaded in the “/usr” directory in the Focus scanner.

The Formatting Plug-in can currently have the following plug-infunctions:

-   PREFORMAT; FORMAT_PROGMD; FORMAT_PROGBC.

PREFORMAT Plug-In Function

This function is called to perform a necessary transformation of thedecoded barcode data prior to the data being actually formatted and sentout.

Function Prototype:

int /* Return: 1 if preformat is done; 0 if not; neg. if error */(*PLUGIN_PREFORMAT)( DECODE_RESULT *decode_results, /* Input: decoderesults */ DECODE_RESULT *new_decode_results); /* Output: preformatteddecode results */

If the PREFORMAT plug-in function is successful, it should return 1 andstore the new decode result in the location in memory pointed tonew_decoderesults.

If the preformatting is not performed for whatever reason, the PREFORMATplug-in function must return 0.

The negative returned value indicates an error.

For the details about the DECODE_RESULT structure, please refer to thesection DECODE Plug-in Function.

FORMAT_PROGMD Plug-In Function

This function is called to notify the plug-in that the scanner enters aprogramming mode.

Function Prototype:

void (*PLUGIN_PROGMD)(int progmd); /* Input: 1 = enter; 0 = normal exit;(−1) = abort */

FORMAT_PROGBC Plug-In Function

This function is called to notify the plug-in that the scanner justscanned a programming barcode, which can be used by the plug-in for itsconfiguration purposes.

Function Prototype:

int /* Return: 1 if successful; 0 if barcode is invalid; negative iferror */ (*PLUGIN_PROGBC)(unsigned char *bufferptr, int data_len);

The method of system feature/functionality modification described abovecan be practiced in diverse application environments which are notlimited to image-processing based bar code symbol reading systemsdescribed hereinabove. In general, any image capture and processingsystem or device that supports an application software layer and atleast an image capture mechanism and an image processing mechanism wouldbe suitable for the practice of the present invention. Thus,image-capturing cell phones, digital cameras, video cameras, andportable or mobile computing terminals and portable data terminals(PDTs) are all suitable systems in which the present invention can bepracticed.

Also, it is understood that the application layer of theimage-processing bar code symbol reading system of the presentinvention, illustrated in FIG. 10, with the above-described facilitiesfor modifying system features and functionalities using the plug-indevelopment techniques described above, can be ported over to execute onconventional mobile computing devices, PDAs, pocket personal computers(PCs), and other portable devices supporting image capture andprocessing functions, and being provided with suitable user andcommunication interfaces.

The Image Capture and Processing System of the present inventiondescribed above can be implemented on various hardware computingplatforms such as Palm®, PocketPC®, MobilePC®, JVM®, etc. equipped withCMOS sensors, trigger switches etc. In such illustrative embodiments,the S-tier system software architecture of the present invention can bereadily modified by replacing the low-tier Linux OS (described herein)with any operating system (OS), such as Palm, PocketPC, Apple OSX, etc.Furthermore, provided that the mid-tier SCORE subsystem describedhereinabove supports a specific hardware platform equipped with an imagesensor, trigger switch of one form or another etc., and that the same(or similar) top-tier “Bar Code Symbol Reading System” Application iscompiled for that platform, any universal (mobile) computing device canbe transformed into an Image Acquisition and Processing System havingthe bar code symbol reading functionalities of the system shown in FIGS.2A through 13F, and described in detail hereinabove. In such alternativeembodiments of the present invention, third-party customers can bepermitted to write their own software plug-ins to enhance or modify thebehavior of the Image Acquisition and Processing Device, realized on theuniversal mobile computing platform, without any required knowledge ofunderlying hardware platform, communication protocols and/or userinterfaces.

Some Modifications Which Readily Come to Mind

In alternative embodiments of the present invention, illumination arrays27, 28 and 29 employed within the Multi-Mode Illumination Subsystem 14may be realized using solid-state light sources other than LEDs, suchas, for example, visible laser diode (VLDs) taught in great detail inWIPO International Publication No. WO 02/43195 A2, published on May 30,2002, assigned to Metrologic Instruments, Inc., and incorporated hereinby reference in its entirety as if set forth fully herein. However, whenusing VLD-based illumination techniques in the imaging-based bar codesymbol reader of the present invention, great care must be taken toeliminate or otherwise substantially reduce speckle-noise generated atthe image detection array 22 when using coherent illumination sourceduring object illumination and imaging operations. WIPO Publication No.WO 02/43195 A2, supra, provides diverse methods of and apparatus foreliminating or substantially reducing speckle-noise during imageformation and detection when using VLD-based illumination arrays.

While CMOS image sensing array technology was described as being used inthe preferred embodiments of the present invention, it is understoodthat in alternative embodiments, CCD-type image sensing arraytechnology, as well as other kinds of image detection technology, can beused.

The bar code reader design described in great detail hereinabove can bereadily adapted for use as an industrial or commercial fixed-positionbar code reader/imager, having the interfaces commonly used in theindustrial world, such as Ethernet TCP/IP for instance. By providing thesystem with an Ethernet TCP/IP port, a number of useful features will beenabled, such as, for example: multi-user access to such bar codereading systems over the Internet; control of multiple bar code readingsystem on the network from a single user application; efficient use ofsuch bar code reading systems in live video operations; web-servicing ofsuch bar code reading systems, i.e. controlling the system or a networkof systems from an Internet Browser; and the like.

While the illustrative embodiments of the present invention have beendescribed in connection with various types of bar code symbol readingapplications involving 1-D and 2-D bar code structures, it is understoodthat the present invention can be use to read (i.e. recognize) anymachine-readable indicia, dataform, or graphically-encoded form ofintelligence, including, but not limited to bar code symbol structures,alphanumeric character recognition strings, handwriting, and diversedataforms currently known in the art or to be developed in the future.Hereinafter, the term “code symbol” shall be deemed to include all suchinformation carrying structures and other forms of graphically-encodedintelligence.

Also, imaging-based bar code symbol readers of the present invention canalso be used to capture and process various kinds of graphical imagesincluding photos and marks printed on driver licenses, permits, creditcards, debit cards, or the like, in diverse user applications.

It is understood that the image capture and processing technologyemployed in bar code symbol reading systems of the illustrativeembodiments may be modified in a variety of ways which will becomereadily apparent to those skilled in the art of having the benefit ofthe novel teachings disclosed herein. All such modifications andvariations of the illustrative embodiments thereof shall be deemed to bewithin the scope and spirit of the present invention as defined by theClaims to Invention appended hereto.

1. A hand-supportable digital image capture and processing systemcomprising: a hand-supportable housing having a light transmissionwindow; a digital image formation and detection subsystem, disposed insaid hand-supportable housing, and having (i) image formation optics forprojecting a field of view (FOV) through said light transmission windowand upon an object to be imaged in said FOV, and (ii) an area-type imagedetecting array for detecting imaged light reflected off the objectduring illumination operations so as to detect one or more 2D digitalimages of the object formed on said area-type image detecting array; anillumination subsystem, disposed in said hand-supportable housing, andhaving at least one illumination source for producing and projecting afield of illumination within said FOV during the image capture mode; anillumination control subsystem disposed in said hand-supportablehousing, for controlling the operation of said illumination subsystemduring said image capture mode; an image capturing and bufferingsubsystem disposed in said hand-supportable housing, for capturing andbuffering said one or more 2D digital images detected by said imageformation and detection subsystem; a digital image processing subsystem,disposed in said hand-supportable housing, for processing said one ormore 2D digital images captured and buffered by said image capturing andbuffering subsystem, so as to read one or more code symbols graphicallyrepresented in said 2D digital images, and producing symbol characterdata representative of said read one or more code symbols; a systemcontrol system for controlling and/or coordinating the operation of oneor more of said subsystems above; and a computing platform forsupporting the implementation of one or more of said subsystems above,and including (i) memory for storing at least one code symbol readingapplication, and (ii) a microprocessor for running at least one codesymbol reading application; and wherein said memory comprises a memoryarchitecture that supports a multi-tier modular software architecturecharacterized by an operating system (OS) layer and an application layerin which at least one said code symbol reading application is run andresponsive to the generation of a triggering event within saidhand-supportable digital image capture and processing system.
 2. Thehand-supportable digital image capture and processing system of claim 1,which further comprises: an input/output subsystem for transmitting saidsymbol character data to an external host system or other informationreceiving or responding device.
 3. The hand-supportable digital imagecapture and processing system of claim 2, wherein said multi-tiermodular software architecture further comprises an intermediate layerdisposed between said application layer and said OS Layer.
 4. Thehand-supportable digital image capture and processing system of claim 1,wherein said computing platform further comprises Flash ROM for storingsaid at least one code symbol reading application, and RAM for storingsaid one or more 2D digital images captured and buffered by said imagecapturing and buffering subsystem.
 5. The hand-supportable digital imagecapture and processing system of claim 1, wherein said hand-supportablehousing contains all of said subsystems.
 6. The hand-supportable digitalimage capture and processing system of claim 1, wherein said memorymaintains system parameters used to configure said functions of saidhand-supportable digital image capture and processing system.
 7. Thehand-supportable digital image capture and processing system of claim 2,wherein said computing platform implements said digital image processingsubsystem, said input/output subsystem and said system controlsubsystem.
 8. The hand-supportable digital image capture and processingsystem of claim 3, wherein said OS layer includes one or more softwaremodules selected from the group consisting of an OS kernal module, an OSfile system module, and device driver modules; wherein said intermediatelayer includes one or more of software modules selected from the groupconsisting of a tasks manager module, an events dispatcher module, aninput/output manager module, a user commands manager module, the timersubsystem module, an input/output subsystem module and an memory controlsubsystem module; wherein said application layer includes one or moresoftware modules selected from the group consisting of a code symboldecoding module, a function programming module, an application eventsmanager module, a user commands table module, and a command handlermodule.
 9. The hand-supportable digital image capture and processingsystem of claim 3, wherein, prior to capturing one or more 2D digitalimages of the object, said microprocessor rapidly initializes saidcomputing platform by performing the following operations: (1) accessingone or more software modules from said OS layer and executing codecontained therein; (2) accessing one or more software modules from saidintermediate layer and executing code contained therein; and (3)accessing one or more software modules from said application layer andexecuting code contained therein.
 10. The hand-supportable digital imagecapture and processing system of claim 1, wherein said fieldillumination comprises narrow-band illumination produced from at leastone light emitting diode (LED).
 11. The hand-supportable digital imagecapture and processing system of claim 1, wherein said digital imageprocessing subsystem processes said one or more 2D digital images, so asto read one or more code symbols graphically represented therein, andproducing symbol character data representative of said read one or more2D code symbols.
 12. The hand-supportable digital image capture andprocessing system of claim 10, wherein each said code symbol is a barcode symbol selected from the group consisting of a 1D bar code symbol,a 2D bar code symbol, and a data matrix type code symbol structure. 13.The hand-supportable digital image capture and processing system ofclaim 3, said computing platform implements said digital imageprocessing subsystem, said input/output subsystem and said systemcontrol subsystem, and wherein said application layer includes said oneor more libraries and said one or more libraries include one or moresoftware modules selected from the group consisting of a code symboldecoding module, a function programming module, an application eventsmanager module, a user commands table module, and a command handlermodule.
 14. The hand-supportable digital image capture and processingsystem of claim 1, which further comprises an automatic object detectionsubsystem for automatically detecting the presence of the object in saidFOV, and in response thereto, generating a trigger signal indicative ofa triggering event.
 15. The digital image capture and processing systemof claim 13, wherein an IR object detection software driver, locatedwithin said OS Layer, is installed automatically.
 16. Thehand-supportable digital image capture and processing system of claim 1,which further comprises a trigger manually actuatable by an operator ofsaid digital image capture and processing system so as to generate atrigger signal indicating a triggering event.
 17. The digital imagecapture and processing system of claim 1, which is realized as deviceselected from the group consisting of an image-capturing cell phone, adigital camera, a video camera, mobile computing terminal and portabledata terminal (PDT), each being provided with suitable hardwareplatform, communication protocols and user interfaces.
 18. Thehand-supportable digital image capture and processing system of claim 1,wherein a third-party customer can write and install a software plug-ininto said application layer so as to enhance or modify the behavior ofsaid hand-supportable digital image capture and processing systemwithout any required knowledge of said hardware platform, communicationprotocols and/or user interfaces.